[NTLK] Developer news...

Steven Frank stevenf at panic.com
Mon Mar 9 12:48:18 EDT 2020


Matthias,

Increasing to 16 MB of emulated RAM seems to have done the trick.  The Makefile now completes, and I get an Einstein.rex at the end!

Is there any way to verify the Einstein.rex is correctly built, other than compiling it into Einstein and seeing how it goes?

Steven


> On Mar 9, 2020, at 5:14 AM, Matthias Melcher <m.melcher at robowerk.de> wrote:
> 
> 
> Thanks Steven for trying that out.
> 
> I am not sure if that will help, but emulated memory in mosrun is set to 2MB right now. If you could go into mosrun/main.h and change the line
> 
> const unsigned int kMosMemMax        = 2*1024*1024;  // Size of emulated RAM
> 
> to
> 
> const unsigned int kMosMemMax        = 16*1024*1024;  // Size of emulated RAM
> 
> and recompile and copy the program to your path again. I will also change that in the repo. If it still runs out of memory, then something else is broken and I have to dig deeper.
> 
> - Matthias




More information about the NewtonTalk mailing list