Hi Eliot,

I executed the cmd like advised in the link you gave me and change the ini file 
to AddressSpaceLimit=3000000000
I got now 1384.4 Mo for a non-spur and 1778.0Mo for a spur thanks to the script 
of Paul.

But we still far of the 3Go…

Anyway, I tried again and it load all I wanted!

Thanks
Vincent


De : Pharo-dev [mailto:[email protected]] De la part de Eliot 
Miranda
Envoyé : lundi 29 février 2016 19:25
À : Pharo Development List
Objet : Re: [Pharo-dev] What is the limit of prespur VM memory under Windows?

Hi Clément,


On Feb 29, 2016, at 10:01 AM, Clément Bera 
<[email protected]<mailto:[email protected]>> wrote:
No.

The limit is supposed to be around 500 Mb on windows or 1 Gb for some 
specifically compiled VMs. 1 Gb VM may not start on windows, you may need to 
restart the computer before.

IIRC the default limit is 512Mb and that can be raised on the command line (or 
in an ini file ?).

But I think that at least Windows xo has a 2gb preprocessor limit by default.  
I remember that to go higher one needed to change how the system booted in 
win.ini.  See eg 
https://knowledge.autodesk.com/support/autocad/troubleshooting/caas/sfdcarticles/sfdcarticles/How-to-enable-a-3GB-switch-on-Windows-Vista-Windows-7-or-Windows-XP-s.html



To bypass the limit the best way is to use a spur VM honestly. Spur32VMs are 
limited to around 2.7Gb on Windows.

+1 :)

_,,,^..^,,,_ (phone)


2016-02-29 18:53 GMT+01:00 Blondeau Vincent 
<[email protected]<mailto:[email protected]>>:
Hi,


I am confronted with a memory issue under Windows.

I have an image of 745Mo with a Moose model, and I cannot instantiate a string 
of 30Mo: I get a OutOfMemoryException.

The theoretical limit is 2Go, isn’t it?



I have a prespur vm under a Windows 64 bits:
Smalltalk vm version:
'NBCoInterpreter NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: 
4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Dec  3 2015
NBCogit NativeBoost-CogPlugin-EstebanLorenzano.21 uuid: 
4d9b9bdf-2dfa-4c0b-99eb-5b110dadc697 Dec  3 2015
https://github.com/pharo-project/pharo-vm.git Commit: 
28d077d8df494ce050ca42c97c892471e8b8740c Date: 2015-10-16 12:02:43 +0200 By: 
Esteban Lorenzano <[email protected]<mailto:[email protected]>> Jenkins 
build #15019

I set in Pharo.ini: AddressSpaceLimit=2000000000



What can I do to bypass the issue?





Thanks in advance,

Vincent


!!!*************************************************************************************
"Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité de Worldline ne pourra être 
recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Worldline liability cannot be triggered for the 
message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.!!!"


!!!*************************************************************************************
"Ce message et les pièces jointes sont confidentiels et réservés à l'usage 
exclusif de ses destinataires. Il peut également être protégé par le secret 
professionnel. Si vous recevez ce message par erreur, merci d'en avertir 
immédiatement l'expéditeur et de le détruire. L'intégrité du message ne pouvant 
être assurée sur Internet, la responsabilité de Worldline ne pourra être 
recherchée quant au contenu de ce message. Bien que les meilleurs efforts 
soient faits pour maintenir cette transmission exempte de tout virus, 
l'expéditeur ne donne aucune garantie à cet égard et sa responsabilité ne 
saurait être recherchée pour tout dommage résultant d'un virus transmis.

This e-mail and the documents attached are confidential and intended solely for 
the addressee; it may also be privileged. If you receive this e-mail in error, 
please notify the sender immediately and destroy it. As its integrity cannot be 
secured on the Internet, the Worldline liability cannot be triggered for the 
message content. Although the sender endeavours to maintain a computer 
virus-free network, the sender does not warrant that this transmission is 
virus-free and will not be liable for any damages resulting from any virus 
transmitted.!!!"

Reply via email to