[Pharo-dev] Pharo's VM --memory seems to be ignored

Paul DeBruicker pdebruic at gmail.com
Fri Apr 22 15:14:36 EDT 2016


On mac it doesn't work.  You need to change the setting in the plist file as
described here:

http://forum.world.st/running-out-of-memory-while-processing-a-220MB-csv-file-with-NeoCSVReader-tips-tp4790264p4790594.html




Mariano Martinez Peck wrote
> Hi guys,
> 
> I have a large image, and I found out that i could not start it anymore
> with `pharo-ui`. The error is:
> 
> ❯ ./pharo-ui --memory 1500 PharoMyApp.image
>                                              [15:12:33]
> Pharo(9030,0xa35bf000) malloc: *** error for object 0x180b604: incorrect
> checksum for freed object - object was probably modified after being
> freed.
> *** set a breakpoint in malloc_error_break to debug
> 
> However... if I modify the key SqueakMaxHeapSize to 1572864000 (1500MB)
> into the Info.plist of the Pharo VM, it DOES work and I can open the
> image.
> 
> The image size is about 544MB.
> 
> VM Version is:
> 
> 'CoInterpreter VMMaker.oscog-nice.1747 uuid:
> 1b765c2a-8d50-4187-8dc2-216c4556a755 Mar 30 2016
> StackToRegisterMappingCogit VMMaker.oscog-nice.1747 uuid:
> 1b765c2a-8d50-4187-8dc2-216c4556a755 Mar 30 2016
> https://github.com/pharo-project/pharo-vm.git Commit:
> 1739553b80206de86da1e89d292e8518b89343d4 Date: 2016-03-30 00:23:59 +0200
> By: Esteban Lorenzano <

> estebanlm@

> > Jenkins build #582
> '
> 
> And this was on OSX 10.11.3 .
> 
> 
> So it seems to me that --memory is not working. Anyone else seeing the
> same?
> 
> Thanks in advance,
> 
> -- 
> Mariano
> http://marianopeck.wordpress.com





--
View this message in context: http://forum.world.st/Pharo-s-VM-memory-seems-to-be-ignored-tp4891552p4891557.html
Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.



More information about the Pharo-dev mailing list