jed-users mailing list

[2007 Date Index] [2007 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

jed eats memory


Hi,

jed views this file[1] in one line, because the line separator is ^M and
not ^J. If you replace all ^M by ^J (with ESC %) jed requests more than
300MB of memory.

% ulimit -m 300000 -v 300000

Use lower values if you have fewer memory, e.g. 92000 for 92MiB.

% xjed pcml-16.tex -f 'replace("\r", "\n")'
***Fatal Error: main: Fatal Error

jed version: 0.99.19-95/Unix
 Compiled with GNU C 4.1
S-Lang version: 2.0.7

jed compile-time options:
 +LINE_ATTRIBUTES +BUFFER_LOCAL_VARS +SAVE_NARROW +TTY_MENUS
 +EMACS_LOCKING +MULTICLICK +SUBPROCESSES +DFA_SYNTAX +ABBREVS
 +COLOR_COLUMNS +LINE_MARKS +GPM_MOUSE +IMPORT
Malloc Error in make_line: requested size: 232753.
CBuf: 0x101679b0, CLine: 0x102386a4, Point 87
CLine: data: 0x419d9008, len = 232839, next: (nil), prev 0x10238690
Max_LineNum: 1601, LineNum: 1601
JWindow: 0x1012d258, top: 0, rows: 35, buffer: 0x101679b0

What's the problem? The undo history?

If doing this inside of Jed, i.e. with ESC %, no error is thrown.

Jörg.

[1] http://euclid.trentu.ca/math/sb/pcml/pcml-16.tex
-- 
Wenn Du jedesmal stehen bleibst, wenn ein Hund bellt, wirst du Deine Reise
nie beenden.                                       (Arabisches Sprichwort)

--------------------------
To unsubscribe send email to <jed-users-request@xxxxxxxxxxx> with
the word "unsubscribe" in the message body.
Need help? Email <jed-users-owner@xxxxxxxxxxx>.


[2007 date index] [2007 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]