Garbage collection settings

Can anyone give me some recommendations for gc settings in build 2013? I'm
finding the big lag when it finally does the gc very annoying.

Oh, I'm on WinXP with 512MB ram.


8 comments
Comment actions Permalink

Em Fri, 21 May 2004 09:51:57 -0500, Brad escreveu:

Come on. You guys usually have all kinds of recommendations for
everything. Wanted or not:)


Search the forum, Brad. This kind of thing has been posted over and over
again. And JFYI, my settings are: -Xms64M -Xmx200M -XX:NewRatio=3

--
Marcus Brito <pazu@animegaiden.com.br>


0
Comment actions Permalink

Come on. You guys usually have all kinds of recommendations for everything.
Wanted or not:)

"Brad" <none@nowhere.org> wrote in message
news:c8gc3t$ss5$1@is.intellij.net...

Can anyone give me some recommendations for gc settings in build 2013? I'm
finding the big lag when it finally does the gc very annoying.

>

Oh, I'm on WinXP with 512MB ram.

>
>


0
Comment actions Permalink

Well, I was think the setting posted previously wouldn't apply to the new
builds. I guess I could have just tried them though.

"Marcus Brito" <pazu@animegaiden.com.br> wrote in message
news:pan.2004.05.21.12.57.54.19204@animegaiden.com.br...

Em Fri, 21 May 2004 09:51:57 -0500, Brad escreveu:

>

Come on. You guys usually have all kinds of recommendations for
everything. Wanted or not:)

>

Search the forum, Brad. This kind of thing has been posted over and over
again. And JFYI, my settings are: -Xms64M -Xmx200M -XX:NewRatio=3

>

--
Marcus Brito <pazu@animegaiden.com.br>

>
>


0
Comment actions Permalink

These settings seemed to make it start slower. My initial memory was
24. I left my max at 192. I will watch it and see what happens.

Norris Shelton
Sun Certified Java Programmer




Marcus Brito wrote:

>Em Fri, 21 May 2004 09:51:57 -0500, Brad escreveu:
>

>
>>Come on. You guys usually have all kinds of recommendations for
>>everything. Wanted or not:)
>>
>>
>
>Search the forum, Brad. This kind of thing has been posted over and over
>again. And JFYI, my settings are: -Xms64M -Xmx200M -XX:NewRatio=3
>

>

0
Comment actions Permalink

I don't know about gc settings but I use the jvm setting -Xverify:none
to turn of class verification. On my machine this makes IDEA start about
5 seconds faster (on a total of 30 seconds).
Btw, I have tried concgc and incgc in the past but those caused problems.

Bas

On 21-05-2004 16:51, Brad wrote:

Come on. You guys usually have all kinds of recommendations for everything.
Wanted or not:)

"Brad" <none@nowhere.org> wrote in message
news:c8gc3t$ss5$1@is.intellij.net...

>> Can anyone give me some recommendations for gc settings in build 2013? I'm
>> finding the big lag when it finally does the gc very annoying.
>>
>> Oh, I'm on WinXP with 512MB ram.

0
Comment actions Permalink

Well, I'm working on a pretty big project, so -Xms64M makes IDEA starts a bit slower, but since the memory consumption would rise above that just one minute later anyway, starting with 64M saves me a few heap resizings.

0
Comment actions Permalink

All the problems I had with concgc (mainly idea completely locking)
have disappeared a long time ago. I've been using concgc without
problems for a long time now.

Did you have different problems?

0
Comment actions Permalink

On 21-05-2004 22:03, Carlos Costa e Silva wrote:

All the problems I had with concgc (mainly idea completely locking)
have disappeared a long time ago. I've been using concgc without
problems for a long time now.

Did you have different problems?


I had the locking problems too, quite some time ago, but that was
probably a vm bug. Those problems went away when IDEA came with a newer
vm. But I have also had problems with the CVS integration in combination
with concgc.

Bas

0

Please sign in to leave a comment.