logo
NOTICE:  This is the new PunchCAD forum. You should have received an email with your new password around August 27, 2014. If you did not, or would like it reset, simply use the Lost Password feature, and enter Answer as the security answer.
Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
jjeconomaki  
#1 Posted : Tuesday, January 17, 2012 5:37:27 PM(UTC)
jjeconomaki

Rank: Junior Member

Joined: 4/7/2011(UTC)
Posts: 10

I've been struggling with large files crashing Sharkv7. I suspected it was memory related so I did a test leaving Windows Task Manager open to view memory usage by Shark.

When the program is first opened, Task Manager is reporting 83K of memory usage. After opening my file, memory usage is reported to be 402K.

Without doing a thing, I closed the file but left Shark open. Memory usage is reported to be 379K.

Reopening the same file; memory usage climbs to 638K. Closing the file reduces the memory usage to 614K.

I repeated this test until memory usage reached 1,300K and then Shark crashed. This was just opening and closing the same file over and over, making no changes and Shark becomes unstable.

Repeated this in the 64 bit Windows (24 G of ram) version and the same issue of memory growing almost exponentially paralleled my 32 bit test.

Can this be fixed?

-John
Tim Olson  
#2 Posted : Wednesday, January 18, 2012 11:13:27 AM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,447
United States

Was thanked: 502 time(s) in 353 post(s)
Hi John

ACIS has it's own memory system that reuses memory. It's not reported freed in the Windows utility, but free within its own memory management system.

If you have a file that repeated crashes with some fixed steps I'd love to investigate further.


Tim
Tim Olson
IMSI Design/Encore
jjeconomaki  
#3 Posted : Wednesday, January 18, 2012 12:29:03 PM(UTC)
jjeconomaki

Rank: Junior Member

Joined: 4/7/2011(UTC)
Posts: 10

Thanks Tim.

Do you know what Windows is reporting? I repeated this experiment with other software and for the most part, they behaved as one would expect. What is interesting is according to Windows, my available memory continues to shrink, so it is going somewhere if it is to be believed.

I will send you a file.

Thanks.

John
Tim Olson  
#4 Posted : Wednesday, January 18, 2012 2:12:17 PM(UTC)
Tim Olson

Rank: Senior Member

Joined: 2/2/2007(UTC)
Posts: 5,447
United States

Was thanked: 502 time(s) in 353 post(s)
I will send you a file.

Ok thanks.

>>so it is going somewhere if it is to be believed.

It's getting reserved by the ACIS memory management system for use and later reuse.


Tim
Tim Olson
IMSI Design/Encore
jdi000  
#5 Posted : Wednesday, January 18, 2012 5:10:42 PM(UTC)
jdi000

Rank: Administration

Joined: 7/29/2007(UTC)
Posts: 1,862
United States

Thanks: 1 times
Was thanked: 87 time(s) in 81 post(s)
Hi Tim

If acis saves memory for objects reuse, when you close a file and reopen the exact same geometry why would the memory use grow significantly? Maybe a small amount but is it not the purpose of holding objects in memory fast recall, undo and redo operations?

2nd if you close a file why keep the geometry in memory if you never reopen same file in the same session its not the best use of memory. Can you not free the memory and only allocate when the file is opened? So if you reopen you take a little time to reallocate?

Thanks
Jason
Windows 11, 10
Users browsing this topic
Guest (3)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.