Hello there..
Has anyone here really used StarUML at a professional level? I am just saying because I tried, and my main issue is that files are streamed and saved in XML file format and I encountered Out of Memory error so many times when I have many objects in a project.. that I can't really use this tool professionally.. is something being done by this branch on this side?
cheers
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
It would require some verification but it is possible that generating the XML image of the model may result in building an additional data structure duplicating the size of the original model and if that model is really big the limit of 2 GB of memory on 32 bit systems may be hit. How actually memory efficient is the save file generation remains to be checked.
This program has extended handling of units, so if there are independent parts in the model they may be saved and loaded separately. Also the 64 bit build at least of the main program is not far away so it should help with the 2GB memory limit too.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Looking at the code it seems that some sort of optimized XML reading is applied as the model nodes are created as the XML parts are read yet it is unclear how long the MSXML parser stores the nodes.
During writing what is more substantial here, the model tree is traversed and XML text lines are created one by one and stored till the final write. The text probably is not as big as the binary representation but still may consume a large part of memory for big models. Maybe those lines could be written to the file as soon as they are collected and cleared. This could be investigated further I think. Probably it will be slower but more memory efficient.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
Hello there..
Has anyone here really used StarUML at a professional level? I am just saying because I tried, and my main issue is that files are streamed and saved in XML file format and I encountered Out of Memory error so many times when I have many objects in a project.. that I can't really use this tool professionally.. is something being done by this branch on this side?
cheers
It would require some verification but it is possible that generating the XML image of the model may result in building an additional data structure duplicating the size of the original model and if that model is really big the limit of 2 GB of memory on 32 bit systems may be hit. How actually memory efficient is the save file generation remains to be checked.
This program has extended handling of units, so if there are independent parts in the model they may be saved and loaded separately. Also the 64 bit build at least of the main program is not far away so it should help with the 2GB memory limit too.
View and moderate all "General Discussion" comments posted by this user
Mark all as spam, and block user from posting to "Discussion"
thanks for the answer..
is StarUML using a DOM representation in memory? maybe substituting it with a SAX parser could also help?
Looking at the code it seems that some sort of optimized XML reading is applied as the model nodes are created as the XML parts are read yet it is unclear how long the MSXML parser stores the nodes.
During writing what is more substantial here, the model tree is traversed and XML text lines are created one by one and stored till the final write. The text probably is not as big as the binary representation but still may consume a large part of memory for big models. Maybe those lines could be written to the file as soon as they are collected and cleared. This could be investigated further I think. Probably it will be slower but more memory efficient.