[Pythonmac-SIG] OSAm leaking?
Sean Hummel
seanh@prognet.com
Fri, 24 Jul 1998 10:45:51 -0700
I too have not noticed any memory leaks. Although one thing to be aware of
is that OSAM does not own the string you pass in for the script. This means
it doesn't delete string, and that you must.
Another interesting tidbit is that each time you run OSAm is that the OSA
component gets loaded and unloaded. This causes some fragmentation of the
heap, but what can you do?
>At 10:05 AM -0700 7/24/98, Jay Painter wrote:
>
>
>> I usually give about 15-25 MB of memory to my
>>Python scripts, and I havn't noticed a problem,
>
>The applet I'm having the problem is intended to be run continuosly since
>it is a task scheduler. I thought it would be reasonable to assign a 1 MB
>partition to the applet and 1 MB is more than sufficient for it start up
>and begin it's duties.
>
>Essentially what it does is sleep for 60 second intervals and when it wakes
>up it determines if any events are scheduled to run at that moment. If
>there are events to be run, it uses OSAm to launch them. Even 2 MB seems
>excessive for such a simple program.
>
>--
> Tony Ingraldi | e-mail: A.M.INGRALDI@LaRC.NASA.GOV
> NASA Langley Research Center |
> Mail Stop 267 | Phone : (757) 864-3039
> Hampton, VA 23681-2199 | Fax : (757) 864-7892
>
>
>
>_______________________________________________
>Pythonmac-SIG maillist - Pythonmac-SIG@python.org
>http://www.python.org/mailman/listinfo/pythonmac-sig
>
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Sean Hummel
RealNetworks Inc.
Core Technologies Developer
"If you manipulate the atoms of carbon, you get
diamonds. If you manipulate the atoms of air,
dirt, and water, you get potatoes."
-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=