 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Andreas Hansson Guest
|
Posted: Wed Aug 16, 2006 1:41 pm Post subject: Out of memory when reaching 2gb |
|
|
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
|
Posted: Wed Aug 16, 2006 8:08 pm Post subject: Re: Out of memory when reaching 2gb |
|
|
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
|
Posted: Thu Aug 17, 2006 8:11 am Post subject: Re: Out of memory when reaching 2gb |
|
|
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 |
|
 |
|
|
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
|
|