Browse thread
compiling large file hogs RAM and takes a long time.
[
Home
]
[ Index:
by date
|
by threads
]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
| Date: | -- (:) |
| From: | skaller <skaller@u...> |
| Subject: | Re: [Caml-list] large parametrized polymorphic variant type combinations take forever to compile |
On Mon, 2007-07-09 at 16:22 -0400, Sam Steingold wrote: > -----BEGIN PGP SIGNED MESSAGE----- > compiling f.ml takes forever. literally. it has been running for 5+ > hours now and there is no sign of hope (all it has produces so far is an > empty f.cmo): > 27820 sds 25 0 1343m 1.3g 1576 R 98 37.2 306:01.80 ocamlc.opt 1G ram used on 1G box? Is it thrashing the disk? Disk is 1000 times slower than RAM .. if you get into random paging, just reboot your box or get more RAM: the time taken is no longer relevant. This happened to me: Mlton builds on my 2G box in 15 minutes. On my 1G box it takes for ever .. I think the disk would pass its MTBF before the job would finish :) -- John Skaller <skaller at users dot sf dot net> Felix, successor to C++: http://felix.sf.net