Python Forum
Drawing a sine curve in memory view of Task Manager
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Drawing a sine curve in memory view of Task Manager
#5
(Sep-19-2016, 02:02 PM)Kebap Wrote: The garbace will not be collected immediately when you call it, but at some arbitrary time, which can't be influenced directly. It depends on many things, maybe that is why you see the slow build-up and sharp decline there. By the way, which concept are you proofing? :D

We started doing something about memory in my CS class, and then I had maths where we had some graphing exercises. I was wondering if what I want to do is possible. That's really it :P

(Sep-19-2016, 07:00 PM)Ofnuts Wrote: Doh... Now I understand what you want... Highly unlikely to work. Even assuming that the GC actually does something when you call it, it won't always return te recovered memory to the system.

Ok, I seem to understand. I've read here(https://stackoverflow.com/questions/1545...-in-python) that if I spawn child processes, it shoudl release the memory back to the system. Another alternative I have thought of is making a 2D array, where each row is a diffferent length to correspond to how much memory must be used, and then deleting the rows in such a way that they create a sine curve. However, I don't know if I could get around the garbage collector issue that way :/
Reply


Messages In This Thread
RE: Drawing a sine curve in memory view of Task Manager - by Lukiewookie - Sep-20-2016, 05:28 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Learning curve astral_travel 3 493 Apr-05-2024, 06:58 PM
Last Post: jefsummers
  How can I design shapes on a curve in python? mervea 2 856 Sep-14-2023, 01:04 PM
Last Post: Pedroski55
  Fitting data to a curve daaegp 1 652 Jun-30-2023, 08:06 PM
Last Post: Gribouillis
  count certain task in task manager[solved] kucingkembar 2 1,175 Aug-29-2022, 05:57 PM
Last Post: kucingkembar
  Find factor to match test curve to golden curve SriRajesh 0 1,586 Jun-17-2021, 04:39 AM
Last Post: SriRajesh
  Fitting Gaussian curve to data file Laplace12 0 2,797 Jun-09-2021, 10:45 AM
Last Post: Laplace12
  Schedule a task and render/ use the result of the task in any given time klllmmm 2 2,147 May-04-2021, 10:17 AM
Last Post: klllmmm
  How to create a task/import a task(task scheduler) using python Tyrel 7 3,820 Feb-11-2021, 11:45 AM
Last Post: Tyrel
  search of a curve fitting function bluffy5 2 2,467 Dec-13-2020, 09:53 AM
Last Post: ndc85430
  How to create an app manager _ShevaKadu 8 3,872 Nov-01-2020, 12:47 PM
Last Post: _ShevaKadu

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020