Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
gautierOffline
15 Post subject: [Solved] (la)tex+xmalloc  PostPosted: 12.07.2011, 17:09



Joined: 2011-07-12
Posts: 2

Status: Offline
Hi,

I noted today that I was no longer able to compile .tex files with plain-tex (no problem with latex) receiving the following error message:

fatal: memory exhausted (xmalloc of 2171483664 bytes).

This happens, with plain tex only, whatever the size of the file I am trying to compile. Looking on the web, somebody had a similar problem some times ago (only the number in the message was different) and proposed the following workaround:

sysctl -w proc.$$.rlimit.datasize.soft=8589934592

This far outreaches my knowledge of Linux, but as I understand, this should tell the kernel that 'some' programs should be able to use more memory (?).

Is it safe to proceed so?

(Note that the TexLive distribution hasn't changed for a while in debian reps, still using the 2009 version, so I am wondering if the update of the linux kernel (?) might have caused this).

Many thanks,

Gautier
      Code:


Last edited by gautier on 13.07.2011, 09:50; edited 1 time in total
 
 View user's profile Send private message  
Reply with quote Back to top
bfreeOffline
Post subject: RE: (la)tex+xmalloc  PostPosted: 12.07.2011, 17:52
Team Member


Joined: 2010-08-26
Posts: 258

Status: Offline
That fix looks insane to me, as does an attempt to malloc 2TB. Sorry to say I've no idea what the real problem or solution is though.

I doubt the kernel is the problem but you can always try booting back into an older one to check that.
 
 View user's profile Send private message  
Reply with quote Back to top
gautierOffline
15 Post subject: Solved  PostPosted: 13.07.2011, 09:49



Joined: 2011-07-12
Posts: 2

Status: Offline
Thanks for the warning bfree!
It was actually a Debian/Texlive problem, probably related to
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=633011
Downgrading texlive-binaries 2009-8+b1 to texlive-binaries 2009-8 solved it.

All the best,

Gautier
 
 View user's profile Send private message  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 12 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by Zafenio