×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

running out of memory

running out of memory

running out of memory

(OP)
OK some time back I had a problem with running out of memory, I was advised to look into the 3meg switch, this worked like a hot dam for a while but now it seems to be happening again and I'm not sure why?? The only thing I can think of it that my temp files are getting bigger. How can I check these files and remove them?? or any other suggestions as to why this is happening?

RE: running out of memory

The 3g switch was a bandaid for a bullet wound back in the day.  It was the best thing windows could come up with at the time until 64bit systems were up to speed and out on the market.  Untimately if you are having memory errors your best long term solution is a 64bit system.  SolidWorks Stopped recommending the 3g switch I believe with the release of SW2009.

Cole M
CSWP, CSWST, CSWI, CPDM
Certified DriveWorks AE
 

RE: running out of memory

What version?
I have been having this problem since updating to SP5.0, 2010.
I'm not running the best laptop for SW, but 5.0 made a huge impact.
My 3gb switch worked only for a day.

Chris
SolidWorks 10 SP4.0
ctopher's home
SolidWorks Legion

RE: running out of memory

(OP)
So I'm wondering why does it stop working?? what is going on?? what do Solid Works say about this??

RE: running out of memory

Are you using the userva=2900 option along with the /3GB switch?

RE: running out of memory

http://help.solidworks.com/2011/English/solidworks/sldworks/legacyhelp/sldworks/assem_1/memory_allocation.htm

http://help.solidworks.com/2011/English/solidworks/sldworks/legacyhelp/sldworks/assem_1/hidd_options_large_assembly.htm

Quote:

If you have a 32-bit Windows XP Professional operating system and are working with very large assemblies, you might benefit from the /3GB switch. The switch allows you to allocate more RAM for the SolidWorks application by decreasing RAM allocated to the operating system. For details, see Memory Allocation.

http://help.solidworks.com/2011/English/solidworks/sldworks/legacyhelp/sldworks/errormsgs/hardware_issues_and_recommendations.htm

Quote:

Low Memory Messages

Low memory messages appear while running SolidWorks.

    Increase the amount of RAM on your machine, especially if you run SolidWorks along with a Microsoft Office application such as Excel with Bill of Materials or Design Tables.

    Allocate more virtual memory on your system to accommodate for current usage. See Windows help for more information.

    Enable the 3GB switch if you are running Windows XP Professional and SolidWorks 2004 (or higher). For details, see memory allocation.

RE: running out of memory

Billywiz,
I'm curious......what specific function does this out of memory happen in? Is it at random or is it happening in the hole wizard function?

Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 XP Pro SP 3 (32-bit)
Xeon CPU 2.53 GHz 3.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer

RE: running out of memory

(OP)
It happens when I have an assembly open and I open a part to modify, I might close that part but not save it because some of my part files are 200 meg and I don't want to take the time to save it if the mod needs to be changed again, I then open the assembly to see if the the modified part solved the problem, I might then open another part, modify that and then save it that's when it crashes.
The 3gig switch worked really well in the beginning but now it seems worse than ever and I don't know why.  

RE: running out of memory

Ok....clean your "Temp" files in the windows folder. Also, if you have SW backup files you might want to clean them too. I also run the "Disk Cleanup" in the windows system tools every once in awhile as well. Hope this helps.

Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 XP Pro SP 3 (32-bit)
Xeon CPU 2.53 GHz 3.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer

RE: running out of memory

Quote:

CorBlimeyLimey (Mechanical)     7 Jun 11 13:30
Are you using the userva=2900 option along with the /3GB switch?

RE: running out of memory

CBL, are you asking me this question?

Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 XP Pro SP 3 (32-bit)
Xeon CPU 2.53 GHz 3.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer

RE: running out of memory

(OP)
not sure, would this help??

RE: running out of memory

Quote (billywhiz):

OK some time back I had a problem with running out of memory,... it seems to be happening again and I'm not sure why?? The only thing I can think of...
You need to tell us what exactly is happening.

Using task manager, turn on reporting of page faults and the various memory counters. Then report where they are at when you first start SW and how they increase or decrease significantly and what you are doing when significant changes happen.

And confirm for us that you have correctly implemented the /3gb /uservar=2900 parameters in boot.ini. What these do on XP 32bit are documented on MicroSoft's website.

SW had a documented memory leak for some time. I don't recall whether it was fixed in 2010. The only way to deal with a memory leak is to save, close and reboot from time to time.
 

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org
www.linkedin.com/in/engineeringtransport

"Node news is good news."

RE: running out of memory

macduff,

No. That was for the OP.

RE: running out of memory

Sometimes you just have to believe what the computer is telling you.  You could actually be running out of memory.

If you are working on 200 plus megs files and don't want to save because it takes to long, and are working with a x32 bit Windows XP system with 4 or less gigs of RAM it would not surprise that you are running out of memory.

It is possible that you are outstripping your hardware resources.  Might have worked before and you were likely on the ragged edge of being good. Looks like you have slipped over the edge.

FWIW,

Anna Wood
SW2011 SP4, Windows 7 x64
http://www.renderbay.com
http://www.solidmuse.com
http://www.phxswug.com

RE: running out of memory

@billywhiz

SolidWorks memory requirements change while working on a model an even change drastically during rebuilt.

SolidWorks also requires contiguous blocks of memory. So even though you might have enough based on simple arithmetic, you may not have enough based on getting a contiguous block of memory.

When using the 3gb switch the operating system loses some of it's memory to allow programs to have more memory. That is why /uservar is used. It sometimes needs to be tweaked.

When running SW in memory hog mode it is also a good idea to shut down every non-necessary program and service. Black Viper can help with this.

And of course it goes without saying that if in 3gb mode you have defined the upper and lower limit of your disk cache at 4gb. If you are letting Windows manage your virtual memory you will have problems every time the OS tries to expand swap space.

We are also assuming you have good hardware, approved drivers and have, perhaps, even gone so far as to have run a memory test and a hard drive test. And of course you have cleaned out your temp directory.

 

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org
www.linkedin.com/in/engineeringtransport

"Node news is good news."

RE: running out of memory

(OP)
thanks for all the input guys I really appreciate you trying to help me with this problem, you all gave me a lot to look at and I will get back to you to let you know if I resolved the issue so it might help someone else in the future.  

RE: running out of memory

@billywhiz

You still need to tell us more about what is happening and what you have done already.

Quote (billywhiz):

I might then open another part, modify that and then save it that's when it crashes.

If this was happening when you had the 3gb switch enabled and didn't have the /uservar value set I would say you are running out of system cache. If you did have /uservar set I would say set it to a lower value.

Quote (billywhiz):

I might close that part but not save it because some of my part files are 200 meg and I don't want to take the time to save it if the mod needs to be changed again
If you have the time to crash and not to save go ahead the way you are. If you don't have time for either consider upgrading. You can build a pretty fast replacement machine on 64 bits for $1,000.

And if you are changing things you need to see in the assembly why not work in the part edit mode in the assembly?

There is really no better time saver than to save frequently no matter what hardware you are running.  

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org
www.linkedin.com/in/engineeringtransport

"Node news is good news."

RE: running out of memory

(OP)
Thanks for your comments I will look into these things. I plan on getting another machine however I am really busy at the moment and don't have time to set up all the programs I use, as it will take me a couple of days, but I would like to get a list of requirements for a new machine from one of you guys please??  

RE: running out of memory

Go to the Solidworks website for system requirements

Colin Fitzpatrick (aka Macduff)
Mechanical Designer
Solidworks 2010 SP 5.0
Dell T5500 XP Pro SP 3 (32-bit)
Xeon CPU 2.53 GHz 3.00 GB of RAM
nVida Quadro 4000 2 GB
3D Connexion-SpaceExplorer

RE: running out of memory

Just built this for a customer. He is tickled pink with it. At the time it was in the $2,000 category and ran Anna's benchmark in 47s with the auto O/C  button engaged. The case looks serious, provides more than ample cooling with the stock cooler.


CODE

CPU    Intel Core i7-2600 Sandy Bridge 3.4GHz (3.8GHz Turbo Boost) 4 x 256KB L2 Cache 8MB L3 Cache LGA 1155 95W Quad-Core Desktop Processor BX80623I72600    
MOBO    MSI P67A-GD65 (B3) LGA 1155 Intel P67 SATA 6Gb/s USB 3.0 ATX Intel Motherboard    
RAM    G.SKILL Ripjaws X Series 8GB (2 x 4GB) 240-Pin DDR3 SDRAM DDR3 1600 (PC3 12800) Desktop Memory Model F3-12800CL9D-8GBXL    
SSD    Intel X25-M SSDSA2MH080G2K5 2.5" 80GB SATA II MLC Internal Solid State Drive (SSD)
VIDEO    NVIDIA Quadro FX1400 PCIE 128MB DDR 3D Graphics Card
CASE    Rosewill CHALLENGER Black Gaming ATX Mid Tower Computer Case    
PS    CORSAIR Gaming Series GS700 700W ATX12V v2.3
HDD    WD VelociRaptor WD6000HLHX 600GB
DVD    LG Black 24X DVD+R 8X DVD+RW 16X DVD+R DL 24X DVD-R 6X DVD-RW 12X DVD-RAM 16X DVD-ROM 48X CD-R 32X CD-RW 48X CD-ROM SATA DVD Burner - Bulk LightScribe Support - OEM
OS    Microsoft Windows 7 Professional SP1 64-bit 1-Pack - OEM    
OFFICE    Microsoft Office 2010 Professional
BACKUP    Acronis True Image Home 2011
 

TOP
CSWP, BSSE
www.engtran.com  www.niswug.org
www.linkedin.com/in/engineeringtransport

"Node news is good news."

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources