On Thu, May 31, 2012 at 05:35:09PM +0200, Alexander Burger wrote:
> Each line results in a list of 4 'pack'ed symbols, i.e. 5 cells plus the
> symbols with each at least 1 cell. So 2.4M rows should be at least 2.3
> GB on a 64-bit machine.

Oops! Shame!

2.4e6 times 6 cells on a 64-bit machine are 230400000 bytes. That's only
230 MByte, not 2.4 GByte!


Anyway, you should first try:

> The interpreter keeps allocating more and more memory, an additional M
> on each garbage collection. You can speed that up if you run
> 
>    (gc 2300)

using, e.g. (gc 250) instead, to pre-allocate memory. This avoids that
the garbage collector runs again and again.

Cheers,
- Alex
-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Reply via email to