|
[Sponsors] |
June 26, 2007, 06:01 |
Error using patchTool
|
#1 |
New Member
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Hi all,
when i want to visualize the mesh in patchTool after loading a few patches i get the following massage in the terminal: java.lang.OutOfMemoryError The model is about 1 GB and i have over 6 GB memory in my mashine. Can someone tell me what is going wrong? With best regards, Daniel |
|
June 26, 2007, 14:49 |
Java needs prespecified the ma
|
#2 |
Senior Member
Mattijs Janssens
Join Date: Mar 2009
Posts: 1,419
Rep Power: 26 |
Java needs prespecified the maximum amount of memory it can take. Look at the patchTool script.
(and a warning: PatchTool is not very nice to use) |
|
June 27, 2007, 04:04 |
Thanks for your help. What too
|
#3 |
New Member
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Thanks for your help. What tool do you use to extract single patches?
Daniel |
|
June 27, 2007, 04:44 |
I don't know where to look, ca
|
#4 |
New Member
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
I don't know where to look, can someone tell me where i can change the amount of memory used by patchTool? I am running it on a 64 bit OpenSuse 10.2 system, on the Ubuntu 32 bit system (same machine) i don't have the problem.
Daniel |
|
July 2, 2007, 08:00 |
Hi all,
can someone please
|
#5 |
New Member
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Hi all,
can someone please help me? Is there an other open source tool to create patches or how can i fix the problem with PatchTool and it's memory usage? Regards, Daniel |
|
July 3, 2007, 02:27 |
Hi Daniel,
You may try to use
|
#6 |
Senior Member
Dragos
Join Date: Mar 2009
Posts: 648
Rep Power: 20 |
Hi Daniel,
You may try to use the autoPatch utility, and then rename the generated patches. I found an old discussion at memory limit, and they show 2 options for the jvm... still seems there are problems. Basically one option is -Xmx4000m, and lets you allocate as much heap as you want (in this case I chose 4000MB). Dragos |
|
July 3, 2007, 04:58 |
Thanks for your reply. autoPat
|
#7 |
New Member
Join Date: Mar 2009
Posts: 20
Rep Power: 17 |
Thanks for your reply. autoPatch is to primitive, i'm using it together with patchTool, when i leave the patches created by autoPatch (with an angle of 60°) i have around 100. At the other hand i have to group them to calculate forces on a group of patches.
I will try the memory limit thing. Daniel |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
patchTool, is there a newer alternative? | bigphil | OpenFOAM Pre-Processing | 4 | October 19, 2009 07:56 |
PatchTool for OpenFOAM 15 | mou_mi | OpenFOAM Running, Solving & CFD | 0 | July 28, 2008 15:53 |
[mesh manipulation] PatchTool name server problem | hani | OpenFOAM Meshing & Mesh Conversion | 12 | June 3, 2008 13:46 |
Implement changes done in patchTool to FoamX | davvan | OpenFOAM Pre-Processing | 0 | May 29, 2008 04:54 |
[mesh manipulation] Launching patchTool | tibbstine | OpenFOAM Meshing & Mesh Conversion | 6 | May 23, 2007 05:38 |