[Gmsh] Gmsh error: Segmentation violation (invalid memory reference)

Ruth V. Sabariego r.sabariego at ulg.ac.be
Sat Sep 15 11:40:10 CEST 2007

Hi Duong,
I get a mesh with lc=0.27 and characteristic length factor 1.
Success !
Info    : 128776 points, 534604 elements
Info    : Mesh 3D complete (156.594 s)
Info    : Mesh
Info    : 129517 vertices 713601 elements
Info    : Writing 'slide_with_two_hole.msh'
Info    : Wrote 'slide_with_two_hole.msh'

I can't go further with my laptop... not enough memory!  (2GB RAM under 
If you are using the graphical mode, I suggest you to try from the 
command line:
gmsh xxx.geo -3

Mr Duong Hoang Vu wrote:
> Dear all,
> I am trying to use Gmsh to generate a 3D unstructured mesh for a slide. 
> I can mesh 3D with characteristic length lc=0.5 and characteristic 
> length factor = 1 and have a mesh with about 30000 nodes and 125000 
> tetrahedra. When I decrease lc to 0.2 or characteristic length factor 
> to 0.5, I got error "segmentation violation", although my system memory 
> still have 1GB available at that time. I need to decrease lc and 
> characteristic length factor to get the radius of the sphere around a 
> tetrahedron about 0.02mm, the unit of  point's coordination I am using 
> is also milimet (mm). I attach here my .geo file and error file I got.
> Please give me your suggestion as soon as you can.
> Thanks,
> Duong Vu.
> ------------------------------------------------------------------------
> _______________________________________________
> gmsh mailing list
> gmsh at geuz.org
> http://www.geuz.org/mailman/listinfo/gmsh

Dr. Ir. Ruth V. Sabariego
University of Liege, Institut Montefiore,
Dept. of Electrical Engineering & Computer Science (ELAP),
Sart Tilman Campus, Grande Traverse, 10 (B28), B-4000 LIEGE, Belgium
phone: +32-4-3663737 -- fax: +32-4-3662910 -- http://elap.montefiore.ulg.ac.be/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20070915/b9891a43/attachment.html>