Open GoogleCodeExporter opened 8 years ago
Ah this is a bit of a misnomer. The -mem parameter in MosaikJump (also in
MosaikMerge
and MosaikSort) specify how much memory to use for temporarily storing and
sorting
records before writing temporary files to disk.
In most cases, it should be left at the default value unless you want to
increase it
slightly. At some point however it takes more time to sort n elements in memory
(usually an n log n operation) than writing the chunk of memory to hard disk -
so
bigger is not always better in this case.
You have a valid point though, I should check for an upper bound when parsing
the
command line parameters. My guess is that it should fail at 32 GB RAM - so I'll
make
that the upper bound.
Thanks for bringing this to my attention.
Cheers,
// Michael
Original comment by snowneb...@gmail.com
on 16 Jan 2010 at 2:33
Original issue reported on code.google.com by
bro...@gmail.com
on 10 Nov 2009 at 8:35