Re: insufficient memory
Chisheng Huang <[email protected]> Mon, 15 Oct 2007 09:16:13 -0700
| Newsgroups | gmane.lisp.clg.devel |
|---|---|
| Message-ID | <[email protected]> |
> but these three lines will run out of memory? > > (gtk:clg-init) > (gdk:pixbuf-load "/path/to/a/large/file.jpg") > (gdk:pixbuf-load "/path/to/a/large/file.jpg") > > Failed to load image '/path/to/a/large/file.jpg': Insufficient memory to load image, try exiting some applications to free memory > [Condition of type GLIB:GLIB-ERROR] > > Note that the error comes from GTK and the garbage collector doesn't > even get a chance to run. > > Does it have to do with the overhead of the Lisp image and its > preallocated memory (I'm using CMUCL)? If yes, how can I work around > this limitation? Not sure if this will help, but have you tried to start CMUCL with -dynamic-space-size to get a bigger heap? Best, -cph ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/