I’ve been spending some time trying to optimise the data loading part of one of my java projects. The nature of the data we use means that we have to create hundreds of millions of objects, each of which internally stores only a single long value (it actually stores several fields packed into this value…
- Home
- Posts tagged "memory"
Getting the java heap size you asked for
In a recent post I discussed a method we’re using for automatically setting the java heap size appropriately at runtime. It now turns out that the issue of setting the heap size is complicated by the fact that the heap size you request on the command line isn’t necessarily what you get given. In some…