On Fri, 2011-04-29 at 05:45 -0700, Jon Cox wrote:
> Russell,

Profligate overuse of l keystrokes there, it's Russel  :-)
 
> > It appears whatever space is specified for the JVM is insufficient to
> > the task -- generally unsurprising with Java which always seems to need
> > more gigabytes of memory than you have :-((  
> 
> 
>   Add -XX:MaxPermSize=512m to JAVA_OPTS

I'd prefer not to have to do this, it somehow seems "evil" to have to
amend the parameters of the default build.  It does seem to be a trend
though:  the Fortress build runs into GC thrashing with the default
parameters so I always have to set the ANT_OPTS :-((

>   PS:
>    When I find myself cursing java's profligate use of memory, I remind 
>    myself of the fact that most of it is GC-related, and once you accept 
>    something on the order of 4x space overhead, GC typically beats explicit 
>    allocation/deallocation (according "Quantifying the performance of Garbage 
>    Collection Vs Explicit Memory Management" by M. Hertz & E. Berger)
>    DDR3 now goes for about $12-15 / G  online, so... I've re-classified 
>    these feelings as emotional artifacts, for the most part.  :)

It's not just the cost of the memory, it is the cost of the extra
electricity as well!

I come from an area of computing where if you have 16k of RAM instead of
4k RAM you count yourself lucky.  Having 1M ROM is fun.  Everything is
though flash, generally about 1M and that brings its own hassles as it
is neither RAM nor ROM.  Enough to emulate JavaCard, but then JavaCard
is not Java.  Much like JavaScript is not Java. 

-- 
Russel.
=============================================================================
Dr Russel Winder      t: +44 20 7585 2200   voip: sip:russel.win...@ekiga.net
41 Buckmaster Road    m: +44 7770 465 077   xmpp: rus...@russel.org.uk
London SW11 1EN, UK   w: www.russel.org.uk  skype: russel_winder

Attachment: signature.asc
Description: This is a digitally signed message part

Reply via email to