[plt-scheme] FW: plt-scheme virtual machine has run out of memory, linux
Hello,
We have embedded plt scheme c api in one C++ application.
It works okay under windows, but when run the same application under linux
then the program crashes and the following error message
Is reported
plt-scheme virtual machine has run out of memory; aborting
We have compiled base.c correctly and even linked in the lmzscheme3m
Could you please help us? What are we doing wrong?
I saw in the mail list that there was similar error message when the
lmscheme3m was not linked in but we are linking it .
We have also removed the virtual memory limit in DrScheme.
************attached file****execution order***********
The first time a test string is sent to mzscheme
char * argv3_[] = {"(+ 1 2)"};
scheme_main_setup(1, run, 1, argv3_);
later the users scheme code is sent to mzscheme via
evalString(char *str)
_apply_thunk_catch_exceptions(Scheme_Object *f, Scheme_Object **exn)
init_exn_catching_apply()
and the result is returned from
extract_exn_message(exn);
****************************************************
Best Regards
Mohsen Torabzadeh-Tari
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20100225/d8203ec7/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: omschemeinteractiveenvironment.cpp
URL: <http://lists.racket-lang.org/users/archive/attachments/20100225/d8203ec7/attachment.ksh>