FastFieldSolvers Forum
FastFieldSolvers Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
 All Forums
 FastFieldSolvers
 FastHenry2
 Memory limit for FastHenry running on Windows
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

Thorben

Brazil
3 Posts

Posted - Feb 22 2010 :  15:38:16  Show Profile  Reply with Quote
Dear Enrico,


It's planned a new release of FastHenry for Windows able to take full advantage of modern machines with several gigabytes?


I have tried some complex structures with Fasthenry, but after several minutes processing, FastHenry stop and shows the message:

fasthenry: out of memory in file `C:\Documenti\Codice\FastSolvers\FastHenry320_071230\FastHenry\induct.c' at line 1941
(NULL pointer on 949856 byte request)
Total Memory Allocated: 1906716 kilobytes (brk = 0x4575f8)
Q2M matrix memory allocated: 4325 kilobytes
Q2L matrix memory allocated: 8 kilobytes
Q2P matrix memory allocated: 1750402 kilobytes
L2L matrix memory allocated: 768 kilobytes
M2M matrix memory allocated: 10 kilobytes
M2L matrix memory allocated: 16841 kilobytes
M2P matrix memory allocated: 13 kilobytes
L2P matrix memory allocated: 4534 kilobytes
Q2PD matrix memory allocated: 93516 kilobytes
Miscellaneous mem. allocated: 3253 kilobytes
Inductance mem. allocated: 33041 kilobytes
Total memory (check w/above): 1876928 kilobytes
MattAlloc: Couldn't get space. Needed 949856

My machine has a 64-bit processor and 4GB of physical memory, so I believe that the problem is the 2GB limit for 32-bit process, which is valid for Windows 32 and 64 bit versions. However, seems that some advanced compilation features allows extended this limit of memory per process to 3GB (Windows 32) and 4GB(Windows 64):
ht*p://msdn.microsoft.com/en-us/library/aa366778(VS.85).aspx

The memory problem reported above also will occur for the same 4GB PC running an Unix/Linux version of FastHenry ?

Best regards,

Thorben.

Enrico

545 Posts

Posted - Sep 23 2015 :  17:58:51  Show Profile  Reply with Quote
You might be interested in knowing that we offer now the 64 bits version of both FastHenry2 and FastCap2.

On the 'Download' page of our web site you can find the new version 4.6.0 of the FastFieldSolver bundle. The 64 bits bundle now contains also the 64 bits version of FastHenry2 and of FastCap2, allowing to overcome the 4Gb memory limit of the previous 32 bits versions. Please download the package and update your installation.

For completeness, I also add that under the 'Download' section you can find the full sources for FastHenry2 ported under MS Visual Studio 2013 Community Edition, that is free for Open Source project (check detailed license conditions on the MS site), supporting both 32 bits and 64 bits compilation and with zero warnings. The sources are now hosted on GitHub, again see details under the 'Download' section.

Best Regards,
Enrico
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
FastFieldSolvers Forum © 2020 FastFieldSolvers S.R.L. Go To Top Of Page
Powered By: Snitz Forums 2000 Version 3.4.06