> -----Original Message-----
> From: Discussion list for Java 2D API
> [mailto:[EMAIL PROTECTED] Behalf Of Sven Mielordt
> Sent: Tuesday, July 20, 2004 9:02 AM
> To: [EMAIL PROTECTED]
> Subject: [JAVA2D] memory problems with Java and System.gc()

> Dear fellows,
>
> I'm working on very complex bioinformatic problems where huge
> arrays of strings and other temporary objects are generated.
> Even when assigning them to the null-pointer after they are
> no longer needed and calling System.gc() afterwords does not
> prevent the system from consuming more and more memory
> resources instead of using the released space.
>
> How can I force the program to use released space instaed of
> using new one?


Can you use a memory-mapped file here to avoid this problem?  Java has
built-in support for memory-mapped files in recent versions.

HTH,

DR

==============================================================================
This message is for the sole use of the intended recipient. If you received
this message in error please delete it and notify us. If this message was
misdirected, CSFB does not waive any confidentiality or privilege. CSFB
retains and monitors electronic communications sent through its network.
Instructions transmitted over this system are not binding on CSFB until they
are confirmed by us. Message transmission is not guaranteed to be secure.
==============================================================================

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA2D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to