Reading binary STL works fine, reading ASCII STL leaks memory
Issue #10
new
When I read an ASCII STL dolfin-hpc leaks memory somewhere and the process is killed because my pc runs out of memory. Everything works fine when I read binary STL files. I tried with STL meshes created using both Gmsh and Salome and dolfin-hpc exhibits the same behavior.
Comments (4)
-
-
Account Deleted reporter It hasn't been modified. I agree binary stl is enough, but we should at least put a check on the stl file that stops the application if the stl is an ascii, instead of the current behavior.
-
Yes but that's very easy simply check the header for an ascii string
-
Account Deleted reporter I know it's very easy, but still the issue needed to be raised... And assigned to someone :D Who's gonna do it? U.U
- Log in to comment
Which branch is this related to?
Unless it has been modified recently, the STL reader does only support binary files.