Hi,
I have to work with several Autocad DXF files, these are topographic maps of around 16 M in size (each file).
OJ has problems to open these large files: it stops to work (Windows XP) or it take a very long time (around 12 minutes) to open one of it.
Is it possible to implement the speed in opening files with DXF plugin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
it is difficult to analyse the problem without knowing the files. But 16MB is quite large - i think... so it may realy needs some time to read.
For the memory problem please have a look here:
but i am not sure if this solves it. When starting OJ 1.2D using the windows openjump.exe it is set a limit of 256MB ram memory. Usually this should be ok for a couple of files - But maybe it is not.
stefan
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Try to transform the DXf file into SHP files using Orbiscad (http://orbiscad.sourceforge.net/)
OpenJUMP works very fine with SHP, even with large files
Peppe
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When you load your 16M dxf file have you an error message ?
if you get an "OutOfMemory" error message, the first thing to do is to check if increasing the memory allocated to the JVM can solve the problem (you can easily do it modifying the settings in the .bat file and launching OJ from the .bat - see the adress given by Stefan).
if there is an other error message or no error message at all, I would need the message, the file or a part of the file to investigate (is it possible to zip the smallest file you cannot load and to send it to my adress - michael.michaud@free.fr ?)
About speed, I'm not sure I can easily speed up the parser. DXF is a very verbose text format, and it also takes time in many softs aroud. But 12 minutes for 16 Mo seems far too long. On my laptop (1,6Ghz - 512Mo) I loaded a 16Mo DXF in 1 mn 2 s (probably a dxf with a more simple structure, recent DXF files tend to have many codes that the parser has to read but simply ignore).
Michael
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I have to work with several Autocad DXF files, these are topographic maps of around 16 M in size (each file).
OJ has problems to open these large files: it stops to work (Windows XP) or it take a very long time (around 12 minutes) to open one of it.
Is it possible to implement the speed in opening files with DXF plugin
Hei,
it is difficult to analyse the problem without knowing the files. But 16MB is quite large - i think... so it may realy needs some time to read.
For the memory problem please have a look here:
http://www.openjump.org/wiki/show/OpenJump+Configuration
but i am not sure if this solves it. When starting OJ 1.2D using the windows openjump.exe it is set a limit of 256MB ram memory. Usually this should be ok for a couple of files - But maybe it is not.
stefan
Hi,
Try to transform the DXf file into SHP files using Orbiscad (http://orbiscad.sourceforge.net/)
OpenJUMP works very fine with SHP, even with large files
Peppe
Hi,
When you load your 16M dxf file have you an error message ?
if you get an "OutOfMemory" error message, the first thing to do is to check if increasing the memory allocated to the JVM can solve the problem (you can easily do it modifying the settings in the .bat file and launching OJ from the .bat - see the adress given by Stefan).
if there is an other error message or no error message at all, I would need the message, the file or a part of the file to investigate (is it possible to zip the smallest file you cannot load and to send it to my adress - michael.michaud@free.fr ?)
About speed, I'm not sure I can easily speed up the parser. DXF is a very verbose text format, and it also takes time in many softs aroud. But 12 minutes for 16 Mo seems far too long. On my laptop (1,6Ghz - 512Mo) I loaded a 16Mo DXF in 1 mn 2 s (probably a dxf with a more simple structure, recent DXF files tend to have many codes that the parser has to read but simply ignore).
Michael