[racket] scribble runs out of memory

From: Charles Wang (wcy123 at gmail.com)
Date: Wed Aug 31 11:05:33 EDT 2011

 <users at racket-lang.org>Hi,

    I ran the following example, and I found "scribble" used ~500M memory.
    I happened to have a document which has ~100 images. My server with 16G
memory cannot afford it.

    a.jpg is 40kbytes, 480x500.

Best Regards
WCY

----------------- example as below in BASH ---------------------

(
cat <<EOF
#lang scribble/manual
@(require scribble/eval)

@title["hello world"]
EOF
N=30
for((i=0;i<N;i++));do
    cat <<EOF
@(examples
       (require racket/snip)
         (require racket/class)
       (make-object image-snip% "a.jpg"))

EOF
done
) > x.scrbl
scribble x.scrbl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20110831/8675566b/attachment.html>

Posted on the users mailing list.