New topic: 

application eats away memory

<http://forums.realsoftware.com/viewtopic.php?t=33307>

         Page 1 of 1
   [ 1 post ]                 Previous topic | Next topic          Author  
Message        93interactive          Post subject: application eats away 
memoryPosted: Thu Apr 08, 2010 5:29 am                                 
Joined: Tue Oct 13, 2009 11:05 am
Posts: 28
Location: Germany                hi,

I have a major problem with my application, its eats away ram gigabyte wise.

I have nailed it down to the httpssocket.

I have a class extending httpssocket, this is started quite some times from the 
main application (about 2500 times, but only 2 parallel). in the httpssockets 
PageReceived event, i connect to a database, update it, write the data to a 
file through binarystream, and thats it. after this i want all memory to be 
freed and the httpssocket to be closed.

Unfortunately it eats away about 10mb per second, when it hits 2gb ram, it 
seems to be unable to open the database anymore.

In PageReceived, i close the database, i flush and then close the binary stream 
and finally i flush and close self (the httpssocket)

has anyone had such a problem and found a solution, and if not, is there anyway 
where i can see how much memory something uses? i see quite a bit of 
information in debugger, but the one that interests me: how much memory does it 
use - seems not to be there.

how does realbasic handle memory anyway, is there something like a 
garbagecollector, i could fire up?

thanx      
_________________
My RealBasic project: Samanon  
                             Top            Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 1 post ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to