Re: Memory doesn't release (from collections)
From: Brian Mitchell (MagellanTX_at_hotmail.com)
Date: 01/08/05
- Next message: tiredoflogins_at_gmail.com: "Printing Special Characters to the printer."
- Previous message: Dave: "Re: Memory doesn't release (from collections)"
- In reply to: Dave: "Re: Memory doesn't release (from collections)"
- Next in thread: Dennis: "Re: Memory doesn't release (from collections)"
- Reply: Dennis: "Re: Memory doesn't release (from collections)"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 8 Jan 2005 00:35:18 -0600
Yes, you can use gc.collect but no matter I let the program sit for 2 hours
and it still didn't free the memory. I even set a breakpoint to make sure
the class was set to nothing.
"Dave" <dave(delete_this)@miraclecatDELETETHISTOO.com> wrote in message
news:u8MMmkU9EHA.2568@TK2MSFTNGP10.phx.gbl...
> is there a way to "force" garbage collection?
>
> "Marina" <someone@nospam.com> wrote in message
> news:uCvk9OQ9EHA.3828@TK2MSFTNGP09.phx.gbl...
>> Just because an object is eligible for garbage collection, doesn't mean
>> it
>> gets garbage collected right away.
>>
>> When the garbage collector decides to run, then anything eligible will
>> get
>> collected. Until then it will sit there taking up memory.
>>
>> "Brian Mitchell" <MagellanTX@hotmail.com> wrote in message
>> news:usSjbFQ9EHA.3120@TK2MSFTNGP12.phx.gbl...
>> > Hello, I am using several queue collections to store some data (about
>> 20,000
>> > entries split across 2 collections). When I view the process in the
>> Windows
>> > task manager I can see the memory increasing when the collections start
> to
>> > fill. However, when I stop the thread and clear the queues (and set the
>> > instance to nothing) the memory does not drop at all.
>> >
>> > Am I doing something wrong?
>> >
>> > Thanks!!
>> >
>> >
>>
>>
>
>
- Next message: tiredoflogins_at_gmail.com: "Printing Special Characters to the printer."
- Previous message: Dave: "Re: Memory doesn't release (from collections)"
- In reply to: Dave: "Re: Memory doesn't release (from collections)"
- Next in thread: Dennis: "Re: Memory doesn't release (from collections)"
- Reply: Dennis: "Re: Memory doesn't release (from collections)"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|