Subject:
|
Re: Large LDraw/MPD Files?
|
Newsgroups:
|
lugnet.cad
|
Date:
|
Fri, 20 Dec 2002 19:40:28 GMT
|
Viewed:
|
568 times
|
| |
| |
In lugnet.cad, Ahui Herrera writes:
> What are you trying to view the file with? MLCAD has a hard time when the
> files get too big even if it is a file with multiple-sub models. Forget
> about LDView it will hog up memory like crazy trying to turn the model.
One of the first things I will probably try to do with LDView after I
finally get 2.0 out the door is to work on its memory consumption. But
first I have to figure out where all the memory is getting used. Doing some
quick calculations based on the size of my various data structures, I was
unable to account for the really huge amount of memory that it uses on large
models.
I tried loading datville just to see how much memory would get used. When I
came back the next morning to see a crash, I came to the conclusion that it
had reached the 2GB virtual memory limit of Win 98 (assuming 2GB really is
the max you can use in Win98). (My swap drive had probably 15GB available,
so it shouldn't have been limited by that.)
This is clearly way too much. On the other hand, unlike ldglite, LDView
actually makes a copy of all the geometry in an attempt to speed up
rendering. So, each unique part in a model is loaded once for the part
cache, and one additional time for each time it is used in the model. (I
need to do some tests to see how much this helps performance, if any).
While I doubt it, it is possible that all the geometry in datville when
treated as completely unrelated triangles does indeed add up to more than 2GB.
--Travis Cobbs (tcobbs@REMOVE.halibut.com)
|
|
Message has 1 Reply: | | Re: Large LDraw/MPD Files?
|
| (...) I'm not sure what you mean by this. Ldglite only creates one structure in memory per part file. It's quite frugal with the memory when you use the L3 Parser. Thanks, Lars. I think I've displayed datsville in ldglite on a PC with as little as (...) (22 years ago, 20-Dec-02, to lugnet.cad)
|
Message is in Reply To:
| | Re: Large LDraw/MPD Files?
|
| (...) What are you trying to view the file with? MLCAD has a hard time when the files get too big even if it is a file with multiple-sub models. Forget about LDView it will hog up memory like crazy trying to turn the model. -Ahui (22 years ago, 20-Dec-02, to lugnet.cad)
|
17 Messages in This Thread:
- Entire Thread on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
This Message and its Replies on One Page:
- Nested:
All | Brief | Compact | Dots
Linear:
All | Brief | Compact
|
|
|
|