mahout-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ted Dunning <ted.dunn...@gmail.com>
Subject Re: SlopeOne MemoryDiffStorage processOneUser???
Date Sat, 26 Feb 2011 21:52:13 GMT
Take a look at jconsole.  It will show you how much heap your program is
actually using.  You probably can look at that and just give the program a
small multiple of how much space it is using.  To tune it more carefully
will require that you study how the java garbage collector works in more
detail and make measurements on your program under realistic conditions.

2011/2/26 Daniel M├╝hlbachler <daniel@muehlbachler.org>

> yes, that's right. thx for that tip but a general question: how must i
> calculate the heap size for a perfect performance? should i use the smallest
> possible & working amount of memory or as high as possible and how can i
> calculate the highest possible one? (can it only be max a specific
> percentage of the available memory?)
>
> thanks!
>
>
>
> Am 26.02.2011 um 20:46 schrieb Ted Dunning <ted.dunning@gmail.com>:
>
> > 2011/2/26 Daniel M├╝hlbachler <daniel@muehlbachler.org>
> >
> >> update:
> >> now it works. It seems as if the java heap size of 3GB was too high for
> >> tomcat. limiting it to 1GB and it works again! :-)
> >>
> >
> > Sounds like you are using a 32 bit JVM.
> >
> > If you later need more memory you should check on a 64 bit jvm.
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message