Hi,

  Just another 2 cents about memory & performance issues:

  In our application we had gained very significant performance boost by tuning 
HotSpot's generation sizes with options -XX:NewSize & -XX:MaxNewSize . Also 
-Xverify:none decreases the application startup time. It'd be nice if someone 
investigate the impact of different values for generation sizes (in our application 
the optimimus is -XX:NewSize=10M -XX:MaxNewSize=10M) There was an article, describing 
all this parameters at javasoft site (reached through the HotSpot FAQ).


---
Sincerely yours,
Mike Aizatsky





-----Original Message-----
From:    Valentin Kipiatkov [EMAIL PROTECTED]
Sent:    Mon, 29 Oct 2001 12:59:54 +0300
To:      [EMAIL PROTECTED]
Subject: Re: [Eap-list] memory leaks


Yes, sure, we use soft references as well as other types of references.

Best regards,
Valentin Kipiatkov
-----------------------------------------------------------
 IntelliJ Software, http://www.intellij.com/
 "Develop with pleasure"
-----------------------------------------------------------

----- Original Message -----
From: "Jonas Kvarnstr�m" <[EMAIL PROTECTED]>
To: "IDEA Early Access Program" <[EMAIL PROTECTED]>
Sent: Sunday, October 28, 2001 11:36 AM
Subject: Re: [Eap-list] memory leaks


> On Sat, 2001-10-27 at 19:55, Valentin Kipiatkov wrote:
>
> > Thus, it is up to you how to configure the heap size in the most
> compromise
> > way.
>
> Are you using soft references?  In that case I suppose you can also
> affect IDEA's behaviour using -XX:SoftRefLRUPolicyMSPerMB (for HotSpot
> 1.3.1+)?
>
> For those who don't know, using -XX:SoftRefLRUPolicyMSPerMB=2000 (for
> example) means that if you have allocated 50 MB of memory and you have
> -mx120M, then there's potentially 70 MB free, and HotSpot allows soft
> references to persist for up to 70*2000 ms = 140 seconds after the
> latest time they were referenced.  If you lower this setting, HotSpot
> will be more likely to free soft references rather than increase the
> size of the heap towards the maximum.
>
> In 1.3.0 and before, Java would immediately clear soft references at any
> full GC.
>
> (Source:  http://java.sun.com/docs/hotspot/PerformanceFAQ.html#175 --
> lots of other HotSpot options are documented at
> http://java.sun.com/docs/hotspot/VMOptions.html, including
> -XX:MaxHeapFreeRatio and -XX:MinHeapFreeRatio which might also be
> useful.)
>
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list



___________________________________________________________________________
Visit http://www.visto.com.
Find out  how companies are linking mobile users to the 
enterprise with Visto.


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to