I've installed Strawberry perl x64 on Windows, but it seems to have a memory limit of 256 MB. My perl script reasonably uses about 500MB of memory (does some calculations over linguistics corpora), but after consuming 256MB, perl terminates with message:
Out of memory during request for 4088 bytes, total sbrk() is 267954176 bytes!
Can the limit be increased somewhere? my machine has 18GB RAM and it should not be a problem to use it on x64 platform, but I can't find where to configure it.
Thanks for help.
You may be able to allow the program more memory usage, etc. by setting it's priority on Windows.
Ctrl+shift+Esc -> Taskbar -> Processes -> YourProgramName.exe-> Right Click (On Program)-> Set Priority -> Choose a performance level
I would suggest High Performance.
This tells Windows what programs it should allocate memory to.
I met this question, too. I used 32bit version Perl 5.8.9 to integrate multiple files but it broke because of the limit of memory. There is a wired thing that the momory used by computer is less than 60%. So I had this idea with you that this Perl program didn't use the full memory of the computer.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.