Huge memory consumption when gmsh.initialize() (Julia API) on windows
Hi, all. I just tried Julia API and noticed gmsh.initialize()
may have some problem. When I run this, I can see a huge memory consumption (going up and down repetitively from 0 to 4GB) on the task manager. The initialization is done after about 30 seconds (with no error). I can use gmsh functions with no problem after that but the problem makes it practically unusable. I confirmed this on two of my windows machines (10 & 11). I also tried it on Ubuntu for windows (11) but I didn't see the same problem.
How to reproduce:
>> winget install julia -s msstore
then launch the Julia pkg manager
>> add Gmsh
then run the following code.
import Gmsh: gmsh
gmsh.initialize()
Julia version: 1.10.1 Gmsh version: 0.3.0
systeminfo
Host Name:
OS Name: Microsoft Windows 11 Home
OS Version: 10.0.22621 N/A Build 22621
OS Manufacturer: Microsoft Corporation
OS Configuration: Standalone Workstation
OS Build Type: Multiprocessor Free
Registered Owner:
Registered Organization: N/A
Product ID:
System Manufacturer: Dell Inc.
System Model: Inspiron 14 5425
System Type: x64-based PC
Processor(s): 1 Processor(s) Installed.
[01]: AMD64 Family 25 Model 80 Stepping 0 AuthenticAMD ~2301 Mhz
BIOS Version: Dell Inc. 1.12.1, 2023/10/12
Windows Directory: C:\WINDOWS
System Directory: C:\WINDOWS\system32
Boot Device: \Device\HarddiskVolume1
System Locale: ja;Japanese
Input Locale: ja;Japanese
Time Zone: (UTC+09:00) Osaka, Sapporo, Tokyo
Total Physical Memory: 7,528 MB
Available Physical Memory: 2,419 MB
Virtual Memory: Max Size: 18,126 MB
Virtual Memory: Available: 3,255 MB
Virtual Memory: In Use: 14,871 MB
Page File Location(s): C:\pagefile.sys
Domain: WORKGROUP
Logon Server:
Hotfix(s): 4 Hotfix(s) Installed.
[01]: KB5034467
[02]: KB5012170
[03]: KB5034765
[04]: KB5034225
Network Card(s): 1 NIC(s) Installed.
[01]: MediaTek Wi-Fi 6 MT7921 Wireless LAN Card
Connection Name: Wi-Fi
DHCP Enabled: Yes
DHCP Server: 192.168.10.1
Hyper-V Requirements: A hypervisor has been detected. Features required for Hyper-V will not be displayed.