In Perl, how can I release memory to the operating system?

前端 未结 4 1314
野性不改
野性不改 2020-12-05 08:30

I am having some problems with memory in Perl. When I fill up a big hash, I can not get the memory to be released back to the OS. When I do the same with a scalar and use

4条回答
  •  慢半拍i
    慢半拍i (楼主)
    2020-12-05 08:59

    Try recompiling perl with the option -Uusemymalloc to use the system malloc and free. You might see some different results

提交回复
热议问题