What is the limit of prespur VM memory under Windows?

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

What is the limit of prespur VM memory under Windows?

Blondeau Vincent

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 <[hidden email]> 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.!!!"
Reply | Threaded
Open this post in threaded view
|

Re: What is the limit of prespur VM memory under Windows?

Clément Béra
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.

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


2016-02-29 18:53 GMT+01:00 Blondeau Vincent <[hidden email]>:

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 <[hidden email]> 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.!!!"

Reply | Threaded
Open this post in threaded view
|

Re: What is the limit of prespur VM memory under Windows?

Paul DeBruicker
In reply to this post by Blondeau Vincent
A while ago Eliot Miranda posted this script to see when an image runs out of memory:

| them |
them := OrderedCollection new.
[[them addLast: (ByteArray new: 16000000).
Transcript cr; show: ((Smalltalk vm parameterAt: 3) / (1024*1024.0) printShowingDecimalPlaces: 1); flush] repeat]
on: OutOfMemory
do: [:ex| 2 to: them size by: 2 do: [:i| them at: i put: nil. Smalltalk garbageCollect]].
Transcript cr; show: ((Smalltalk vm parameterAt: 3) / (1024*1024.0) printShowingDecimalPlaces: 1); flush.
them := nil.
Smalltalk garbageCollect.
Transcript cr; show: ((Smalltalk vm parameterAt: 3) / (1024*1024.0) printShowingDecimalPlaces: 1); flush




its from here:http://forum.world.st/New-Cog-VMs-available-td4764823.html#a4764840

With that you ought to easily be able to see how high you can go on a platform.


Blondeau Vincent wrote
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 <[hidden email]> 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.!!!"
Reply | Threaded
Open this post in threaded view
|

Re: What is the limit of prespur VM memory under Windows?

Eliot Miranda-2
In reply to this post by Blondeau Vincent
Hi Vincent,

   yes I think you're right that the limit is 2Gb unless you change the system in I file.  Google something like "more than 2gb under Windows" and IIRC you may be able to get 3gb.

One thing is you're using a .ini setting.  Perhaps that doesn't work.  So try using the -memory argument on the command line.

Another thing is that 2gb is 147,483,648 greater than 2,000,000,000 so you could try, say, 2,050,000,000.

Finally you could start the image up on another IS and try and reduce its size, save and then start it back up on Windows.

That's all I can think of right now.

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

On Feb 29, 2016, at 9:53 AM, Blondeau Vincent <[hidden email]> wrote:

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 <[hidden email]> 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.!!!"
Reply | Threaded
Open this post in threaded view
|

Re: What is the limit of prespur VM memory under Windows?

Eliot Miranda-2
In reply to this post by Clément Béra
Hi Clément,


On Feb 29, 2016, at 10:01 AM, Clément Bera <[hidden email]> 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 <[hidden email]>:

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 <[hidden email]> 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.!!!"

Reply | Threaded
Open this post in threaded view
|

Re: What is the limit of prespur VM memory under Windows?

Clément Béra


2016-02-29 19:25 GMT+01:00 Eliot Miranda <[hidden email]>:
Hi Clément,


On Feb 29, 2016, at 10:01 AM, Clément Bera <[hidden email]> 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


yes you can change the .ini file.

But in a deployed application on windows for a Synectique customer they use 2Gb and sometimes windows doesn't want to start the app, as a work around they found out that windows always agrees to start the app just after being reboot. So the .ini file is good on Unix to allow 2Gb instead of the default 1 Gb, but on windows there are additionnal problems.

So the Spur VM is really the best solution anyway.
 

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 <[hidden email]>:

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 <[hidden email]> 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.!!!"


Reply | Threaded
Open this post in threaded view
|

Re: What is the limit of prespur VM memory under Windows?

Blondeau Vincent
In reply to this post by Paul DeBruicker
Thanks for the  script, it is very useful :)

By running it, I get:
Not spur image: 1143.0 Mo
Spur image: 1140.1 Mo

We are far than the 2Go... even for spur.

Vincent


> -----Message d'origine-----
> De : Pharo-dev [mailto:[hidden email]] De la part de
> Paul DeBruicker
> Envoyé : lundi 29 février 2016 18:42
> À : [hidden email]
> Objet : Re: [Pharo-dev] What is the limit of prespur VM memory under
> Windows?
>
> A while ago Eliot Miranda posted this script to see when an image runs out of
> memory:
>
> | them |
> them := OrderedCollection new.
> [[them addLast: (ByteArray new: 16000000).
> Transcript cr; show: ((Smalltalk vm parameterAt: 3) / (1024*1024.0)
> printShowingDecimalPlaces: 1); flush] repeat]
> on: OutOfMemory
> do: [:ex| 2 to: them size by: 2 do: [:i| them at: i put: nil. Smalltalk
> garbageCollect]].
> Transcript cr; show: ((Smalltalk vm parameterAt: 3) / (1024*1024.0)
> printShowingDecimalPlaces: 1); flush.
> them := nil.
> Smalltalk garbageCollect.
> Transcript cr; show: ((Smalltalk vm parameterAt: 3) / (1024*1024.0)
> printShowingDecimalPlaces: 1); flush
>
>
>
>
> its from
> here:http://forum.world.st/New-Cog-VMs-available-
> td4764823.html#a4764840
>
> With that you ought to easily be able to see how high you can go on a
> platform.
>
>
>
> Blondeau Vincent wrote
> > 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 &lt;
>
> > estebanlm@
>
> > &gt; 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.!!!"
>
>
>
>
>
> --
> View this message in context: http://forum.world.st/What-is-the-limit-of-
> prespur-VM-memory-under-Windows-tp4881619p4881625.html
> Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.


!!!*************************************************************************************
"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 | Threaded
Open this post in threaded view
|

Re: What is the limit of prespur VM memory under Windows?

Blondeau Vincent
In reply to this post by Eliot Miranda-2

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:[hidden email]] 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 <[hidden email]> 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 <[hidden email]>:

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 <[hidden email]> 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 | Threaded
Open this post in threaded view
|

Re: What is the limit of prespur VM memory under Windows?

Stephan Eggermont-3
In reply to this post by Paul DeBruicker
On 29-02-16 18:42, Paul DeBruicker wrote:
> A while ago Eliot Miranda posted this script to see when an image runs out of
> memory:

And with a 50613 spur image on Ubuntu that gives me 3917 MB,starting
from 93MB. Same for 50495 (pre-spur) was 1016 MB. It might be an option
to run a virtualbox/vmware image on the windows machine

Stephan