BorlandTalk.com Forum Index BorlandTalk.com
Borland discussion newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Out of memory when reaching 2gb

 
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General)
View previous topic :: View next topic  
Author Message
Andreas Hansson
Guest





PostPosted: Wed Aug 16, 2006 1:41 pm    Post subject: Out of memory when reaching 2gb Reply with quote



I've got a mysterious problem. When windows reaching 2gb my bold
application crashes (Out of memory). According to task manager the app
only use 200-500mb but after killing the app windows frees 1,8gb ram.

I've disabled the memory manager. It helped and it now takes a longer
to reach 2gb but still, sooner or later 2gb of memory is used and I get
"out of memory". I have 1gb of physical and 4gb of virtual mem so this
should not be any problem?


I have one method which creates and deletes around 500 objects each
time its run. When deleteing an object, is all info (including the
locator) removed from memory?


I have no clue why the app uses this much memory or why I get an out of
memory when reaching 2bg. Any suggestions?


Best regards
Andreas
Back to top
samuel herzog
Guest





PostPosted: Wed Aug 16, 2006 8:08 pm    Post subject: Re: Out of memory when reaching 2gb Reply with quote



See the following report from Kjell Rilbe.

http://qc.borland.com/wc/qcmain.aspx?d=9525

His workaround solved the problem.



"Andreas Hansson" <andreas.hansson (AT) blazinginterglobal (DOT) com> wrote in message
news:44e2da33$1 (AT) newsgroups (DOT) borland.com...
Quote:
I've got a mysterious problem. When windows reaching 2gb my bold
application crashes (Out of memory). According to task manager the app
only use 200-500mb but after killing the app windows frees 1,8gb ram.

I've disabled the memory manager. It helped and it now takes a longer
to reach 2gb but still, sooner or later 2gb of memory is used and I get
"out of memory". I have 1gb of physical and 4gb of virtual mem so this
should not be any problem?


I have one method which creates and deletes around 500 objects each
time its run. When deleteing an object, is all info (including the
locator) removed from memory?


I have no clue why the app uses this much memory or why I get an out of
memory when reaching 2bg. Any suggestions?


Best regards
Andreas
Back to top
Andreas Hansson
Guest





PostPosted: Thu Aug 17, 2006 8:11 am    Post subject: Re: Out of memory when reaching 2gb Reply with quote



Thank you! Will try this

samuel herzog wrote:

Quote:

See the following report from Kjell Rilbe.

http://qc.borland.com/wc/qcmain.aspx?d=9525

His workaround solved the problem.



"Andreas Hansson" <andreas.hansson (AT) blazinginterglobal (DOT) com> wrote in
message news:44e2da33$1 (AT) newsgroups (DOT) borland.com...
I've got a mysterious problem. When windows reaching 2gb my bold
application crashes (Out of memory). According to task manager the
app only use 200-500mb but after killing the app windows frees
1,8gb ram.

I've disabled the memory manager. It helped and it now takes a
longer to reach 2gb but still, sooner or later 2gb of memory is
used and I get "out of memory". I have 1gb of physical and 4gb of
virtual mem so this should not be any problem?


I have one method which creates and deletes around 500 objects each
time its run. When deleteing an object, is all info (including the
locator) removed from memory?


I have no clue why the app uses this much memory or why I get an
out of memory when reaching 2bg. Any suggestions?


Best regards
Andreas



--
Back to top
Display posts from previous:   
Post new topic   Reply to topic    BorlandTalk.com Forum Index -> Delphi Model Driven Architecture (General) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.