-
-
Notifications
You must be signed in to change notification settings - Fork 5.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Huge virtual memory usage on Windows #54525
Comments
Where did this data come from? I have 32GB of physical memory. Maybe related: Unreasonably huge process virtual memory size reported by Process Explorer |
In general, virtual memory isn't really meaningful (at least on 64 bit systems). You have roughly infinite address space, available, so as long as you don't bring the memory into resident memory, it's all fairly imaginary. |
No, it's actually the
Within a specific amount (like tens or hundreds of GB), I do agree that virtual memory is not a problem. However, for some unknown reason, on my workstation, the amount of virtual memory is extremely large and prevents other programs (including other instances of Julia) from running. By the way, is there any way to know how the virtual memory is being used, so that I might be able to compare the usage on both systems, and see what might be wrong? |
What if you set the environment variable |
It works! The amount of used virtual memory has decreased to about 180MB. After trying some different values of
Anyway, the problem has been solved, thanks to all you people for helping me with this! |
I have two machines, both running windows and Julia 1.10.3, and only installed two packages: WriteVTK and ArgParse.
After starting up, the physical memory used by Julia on two machines are similar (as seen in the table below), but the amount of virtual memory differs by more than 30 times. I've tried launching the REPL and using
julia -e "sleep(3)"
, but the results are almost the same.The memory usages are acquired through
taskmgr
and Process Explorer.While I understand that the memory usage can depend on a lot of factors, which can be quite different especially on different machines / processor brands, starting up with virtual memory of more than 16GiB definitely seems abnormal. Is this kind of platform-specific bug, or because of some misconfiguration in my workstation?
By the way, on both machines, Julia is installed through
juliaup
, and theversioninfo()
from the Julia on two machines are:The text was updated successfully, but these errors were encountered: