VERICUT Users' Forum

Due to relentless spammers, we are no longer automatically accepting new forum registrations. If you wish to register for this forum, please send an e-mail to: info@cgtech.com

You are not logged in.

#1 2006-10-02 20:02:30

SergeV
Senior Member
From: Irvine, CA
Registered: 2004-10-08
Posts: 507
Website

Problem: VERICUT 6.0 crashes or hangs

Problem: VERICUT crashes or hangs, it is an intermittent problem.


Solution: the new version of Java used with VERICUT 6.0 requires more memory. The solution is to allocate more memory to Java.

copy and rename the file as a backup:
c:\cgtech60x\windows\commands\vericut.bat

Edit vericut.bat

replace: -Xms16m -Xmx64m -Xss4m
with : -Xms24m -Xmx128m -Xss6m

Offline

#2 2006-10-18 16:08:35

dirtydan_uk1
Member
From: Gateshead
Registered: 2006-04-11
Posts: 10

Re: Problem: VERICUT 6.0 crashes or hangs

Having recently installed 6.0.2 I have had some graphics problems especially when running a program using no animation in the motion control.[bits of may stock keep disappearing]. I alterd the vericut.bat file as shown but that made matters worse1 The machine models were all jumbled up.
Help!!!


Dan Archer
Senior Production Engineer [Oldest ha ha]
http://www.express-engineering.com/

Offline

#3 2006-10-18 16:42:46

SergeV
Senior Member
From: Irvine, CA
Registered: 2004-10-08
Posts: 507
Website

Re: Problem: VERICUT 6.0 crashes or hangs

Sorry about that sad

The solution above worked with most hang or crash problems. If you still have problems, please contact Tech Support and they will help you find a solution.

Offline

#4 2006-10-18 16:50:51

ChrisL
Member
From: SoCal
Registered: 2006-10-18
Posts: 2

Re: Problem: VERICUT 6.0 crashes or hangs

Could you explain in detail what each of these parameters does?

Offline

#5 2006-10-18 17:25:48

SergeV
Senior Member
From: Irvine, CA
Registered: 2004-10-08
Posts: 507
Website

Re: Problem: VERICUT 6.0 crashes or hangs

-Xms<size>        set initial Java heap size
-Xmx<size>        set maximum Java heap size
-Xss<size>          set java thread stack size

Offline

#6 2006-10-26 05:20:44

paehv
Senior Member
From: Eindhoven, Netherlands
Registered: 2005-01-17
Posts: 166
Website

Re: Problem: VERICUT 6.0 crashes or hangs

Please keep us informed here on tips to improve the stability of vericut.

Our average crash rate is about 4 or 5 times a day!
Esspecially when using the Accelerated open GL option, Java is getting really unstable.
A 75% garantee to get a crash is when opening other programs during the simulation.
I also tried the -Xms24m -Xmx128m -Xss6m setting, and this seems to improve things a bit, but it's still a weak process.

Patrick Delisse
DutchAero


Patrick Delisse
KMWE Aerospacehttps://www.kmwe.com
(Vericut V9.5, Siemens NX2206, Campost)

Offline

#7 2006-10-26 16:35:27

Roger Bombassei
Member
From: Babylon, Long Island
Registered: 2006-08-02
Posts: 75

Re: Problem: VERICUT 6.0 crashes or hangs

I was having the problem above where I'd hang when switching between windows.
I downloaded the latest Dassault approved drivers for my Nvidia Quadro card and set it up the profile for cad and the application for CATIA.  And that problem went away.
Of course CATIA is the NC programming system I'm using.

Offline

#8 2006-10-26 16:59:22

DaveF
Senior Member
From: Valencia, CA
Registered: 2005-08-20
Posts: 304

Re: Problem: VERICUT 6.0 crashes or hangs

Anyone using 2 video cards?
I am exploring that for my new 64bitbox, one for vericut & one for Catia
could this help, or hurt the problem?


Dave Frank
Aerospace Dynamics International, PCC
Valencia Ca
"Where else can you have this much fun,.......and get paid???."

Offline

#9 2006-10-26 18:12:38

BillH
VERICUT Specialist
From: Irvine, CA
Registered: 2004-10-08
Posts: 146
Website

Re: Problem: VERICUT 6.0 crashes or hangs

(this is a revised version of my earlier posting)
Sorry for the trouble all.

There appear to be 3 separate and unrelated problems, but with similar symptoms. Problems #1 and #2 were present in VERICUT 5.4, but appear to be happening much more frequently in VERICUT 6.0. Problem #3 is not a VERICUT problem, but a graphics driver problem.

Problem #1: VERICUT hangs or crashes when another window pops-up while VERICUT is simulating. This could be something as simple as file explorer or even an outlook email notice popping up in the taskbar tray.  Sometimes it is necessary to drag the other window around over VERICUT's desktop to cause the problem. Conditions for this problem are:
. Accelerated (OpenGL) machine view.
. VERICUT is simulating.
. Another application window or notice opens.
. A large VERICUT desktop (full screen on a hi-res monitor or across 2 dual monitors) seems to increase the frequency of the problem.

If a hyperthread CPU, turning off hyperthreading either eliminates the problem completely, or significantly reduces its frequency. Turing off hyper-threading also improves VERICUT's speed. So far this is the only solution we've found and does not seem to have negative consequences.

Turning off one of the cores (via the bios) in a dual core processor also seems to eliminate the problem. This is not a reasonable solution, only a temporary workaround.

We can duplicate this problem on a few computers at CGTech. Some are harder to make crash than others (takes a lot of window dragging before a hang occurs). Most of our systems seem to behave well and not hang.

This is all new info as of yesterday, and I'll update this post as we discover more. We are searching for a more permanent solution.

Problem #2:
VERICUT hangs or crashes while simulating. Conditions for this problem are:
. No other application windows are open on the desktop.
. The problem happens with or without an Accelerated (OpenGL) machine view open.
. The problem occurs when VERICUT's desktop display is very large (full-screen on a hi-res monitor or across dual monitors).

This problem can be eliminated by increasing VERICUT's java memory limits. VERICUT uses java run-time for the GUI and display. The larger the desktop the more memory required by java. This can be increased by editing the command line that run's VERICUT (in vericut.bat) and increasing the maximum heap (where memory pages are stored) and stack (place where CPU instruction sequences are stored) values.

. Use -Xmx96 or -Xmx128 to increase the heap.
. Use -Xss6 or -Xss8 to increase the stack.

Larger values do not seem to help, and can sometimes hurt.

This problem may also be reduced or eliminated by setting the environment variable CGTECH_CPU_COUNT=1. It can be added to vericut.bat. This setting modifies how VERICUT multi-threads internal material removal routines. Performance decrease is negligable on dual processor systems.

Problem #3:
VERICUT hangs or crashes while simulating or rotating an Accelerated machine view. Sometimes hangs or crashes when VERICUT is opening or switching between setups. The problem is random. Conditions of this problem are:

. Accelerated (OpenGL) machine view.

The graphics driver is outdated and needs to be updated to the graphic's card vendor's latest version. This is by far the most common problem we've seen over the years. Complete systems and graphics cards are shipped with driver "shelf-ware", and should be updated with the latest from the vendor's website.

Bill

Offline

#10 2006-10-26 20:51:58

BillH
VERICUT Specialist
From: Irvine, CA
Registered: 2004-10-08
Posts: 146
Website

Re: Problem: VERICUT 6.0 crashes or hangs

Dave,
I have no idea about the 2 graphics card question. On the surface, with no other knowledge, seems like this would add more complexity and create more places for problems to occur.
Bill

Offline

#11 2006-10-27 10:10:22

Roger Bombassei
Member
From: Babylon, Long Island
Registered: 2006-08-02
Posts: 75

Re: Problem: VERICUT 6.0 crashes or hangs

Dave,
Don't know if this helps, but most video cards recommended for CAD have outputs for 2 monitors.
I've heard of people using 2 cards, but haven't tried it myself.
Have you seen the Quadroplex external video from Nvidia?
You might try emailing your questions to Nvidia.

I'm using a Dell Precision 690 with 2 Zeon 64 bit dual processors.
4 gig ram
And an Nvidia Quadro FX 3450/4000 SDI
This machine kicks ass.  I run CATIA and Vericut at the same time and am lovin it.  :twisted:

Offline

#12 2006-10-30 07:07:53

paehv
Senior Member
From: Eindhoven, Netherlands
Registered: 2005-01-17
Posts: 166
Website

Re: Problem: VERICUT 6.0 crashes or hangs

It's starts to annoy me now more and more.
We are using version 6 now for 2 months, and I have lost count on how many times it has crashed. (at least 100 times now)

Have tried the the variable CGTECH_CPU_COUNT=1 and increased the java heap and stack. Also installed the latest graphics driver.

No difference!

The last week I have run vericut without other applications open and no switching screens. Just pressed the start button and lean backwards in my chair, and it still crashes or freezes randomly. :cry:

I'm using a Dell Precision 670 with 2 XEON 32bit processors
2 gig RAM with Nvidia Quadro FX4500 512MB

This machine also kicks ass, but vericut kicks the machine harder.

Patrick Delisse
DutchAero


Patrick Delisse
KMWE Aerospacehttps://www.kmwe.com
(Vericut V9.5, Siemens NX2206, Campost)

Offline

#13 2006-10-30 11:36:38

Roger Bombassei
Member
From: Babylon, Long Island
Registered: 2006-08-02
Posts: 75

Re: Problem: VERICUT 6.0 crashes or hangs

Patrick, I have seen the kind of crashes you and freezing you are talking about.  I rarely see them anymore with the machine I'm using now.  It happens so much less with this 64 bit machine than before that I am thrilled.
I'm no expert, but my guess is that more ram might be the answer.
Hopefully the experts will give their opinion as well.
Good luck

Offline

#14 2006-11-27 17:09:54

BillH
VERICUT Specialist
From: Irvine, CA
Registered: 2004-10-08
Posts: 146
Website

Re: Problem: VERICUT 6.0 crashes or hangs

see the solution to this at http://cgtech.com/forum/viewtopic.php?t=705
Bill

Offline

#15 2022-11-28 14:12:56

MWeers
Member
From: Almelo, The Netherlands
Registered: 2022-03-23
Posts: 14

Re: Problem: VERICUT 6.0 crashes or hangs

BillH wrote:

see the solution to this at .....
Bill

Can someone correct the link or copy the info in this thread?


Maarten Weers

VDL ETG Almelo
The Netherlands

Offline

Board footer