[tex-live] TeX Live 2008: nasty pdf(la)tex bug on Solaris SPARC with ZFS

Vladimir Volovich vvv at vsu.ru
Sat Sep 13 14:21:55 CEST 2008


"KB" == Karl Berry writes:

 KB>         $ xetex -ini fatal: memory exhausted (xmalloc of 72367120
 KB> bytes).

 KB> Well, that at least should be debuggable, e.g., run it under the
 KB> debugger, trap the exit in xmalloc.c, and then run ps on the
 KB> process to see how much it's really using.

i found the reason: i had this ulimit:

data seg size         (kbytes, -d) 131072

when i set ulimit -d unlimited, it was able to start.

i.e. 128MB are simply not enough to just start xetex -ini

 KB> I don't think xetex is any more aggressive than anything else.
 KB> Everything allocates a ton of stuff these days.

as i wrote in another email: just running "pdftex -ini \\relax" and
looking at the process memory usage, i see it uses 6864 Kb of resident
memory (and 73m VIRT) on my linux box.

but for "xetex -ini \\relax", i see:

 TL2008: 128m RES, 239m VIRT
 TL2007: 14m RES, 95m VIRT

why did xetex's memory usage so much increased compared to TL2007?
(14 MB => 128 MB just for inixetex)

Best,
v.


More information about the tex-live mailing list