liutanyu / mcl

Automatically exported from code.google.com/p/mcl
Other
0 stars 0 forks source link

RMCL 5.2 takes a long time to start #1

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The dock icon bounces for a long time during app startup.

According to Toomas Altosaar:

"The problem was that the 5.2 version of RMCL reserves 1 Gb of RAM 
... which this old machine does not have. So after many minutes of 
startup, the Listener finally appeared. The solution was to use the 
hint presented by Andrew a few days ago on changing the amount of 
memory requested:

I evaled this in the listener:

(let* ((handle (#_NewHandle 4)))
  (setf (%hget-unsigned-long handle 0) (ash 1 29)) ; 1.5 GB ==> 0.5 GB
  (save-application "smaller-rmcl" :resources `((,handle "NSIZ" 1))))

and now the new app called smaller-mcl starts up in a second."

Original issue reported on code.google.com by terje.norderhaug on 17 Sep 2009 at 3:09

GoogleCodeExporter commented 9 years ago
See the related Issue 4. The new save-application-size-patch.lisp in the 
Patches directory of the repository 
simplifies saving the application with a smaller default memory allocation. The 
new instructions for building the 
application also provides a resolution.

Original comment by terje.norderhaug on 6 Oct 2009 at 11:25

GoogleCodeExporter commented 9 years ago

Original comment by terje.norderhaug on 10 Oct 2009 at 4:50