- This topic has 5 replies, 3 voices, and was last updated 20 years, 5 months ago by
Brian Fernandes.
-
AuthorPosts
-
lff0305MemberMyeclipse works fine in my test on some small struts-config.xml,
but when I open a big struts-config.xml from a previous project,
(it is big, more than 300KB), myeclipse takes 99% of the CPU and loses response. I have to terminate the process.January 31, 2005 at 11:28 pm #224128
Brian FernandesModeratorWe have checked this version of ME 3.8.4 to work with large files, files ranging about 500KB with about 1000 actions and forwards.
A file like this takes about 4 seconds to open on my 2Ghz Pentium M with 512MB RAM.Please note that layout is calculated the first time your file is opened, and it might take slightly longer; thereafter the data is persisted and subsequent opens will be faster.
Please make sure Eclipse has enough RAM – this is important (add “-vmargs -Xmx256m” to the command line when starting eclipse) I noticed a significant difference in time if I started eclipse without this flag.
If you are still unhappy, you can disable the design page altogether and use just the source editor – to do this, Edit your Project Properties (right click Project and edit the MyEclipse-Struts properties page to disable the designer). I would say this is rather extreme and it should not come to this.
Please let us know how it turns out,
Brian.January 31, 2005 at 11:47 pm #224129
lff0305MemberHi, I tried 3.8.4 and it worked fine. But there is another problem:
When I export the design to jpeg file, (right click in Design Form and choose Export as Jpeg, an error
happend and says ‘Error exporting image. Reason: No more handles [GetLastError = 0x57]. Still, this error does not happen on small struts-config.xml files.My computer is Celeon 2G, 512MDDR, MS Windows 2000sp4.
January 31, 2005 at 11:55 pm #224130
Brian FernandesModeratorGlad to hear it’s working now.
Sorry, this is a known issue which we haven’t had the bandwidth to address in this release. The problem you see is becuase Windows cannot export images > 16MB (Bitmap memory). Though this is supposed to be an issue only in Win9x – I have noticed similar limitations on WinXP / 2000.
If you really need the export – you might try using Linux, where it does work.
We plan to have a more comprehensive set of export options soon (yes, cross platform), sorry for the inconvenience.Best,
Brian.February 28, 2005 at 12:05 am #225841
jason poleyMemberI have 3.8.4 and i get the same error when i try to export a struts-config as jpeg.
i have set memory to -vmargs -Xms600m -Xmx600m and have nothing else open (and 2 gb on box)
and i get this same error.
i have exported other files before with this release, but this one is larger.
February 28, 2005 at 1:15 am #225842
Brian FernandesModeratorJason,
The windows limitation on Bitmap size is irrespective of how much memory you give your JVM with the -Xm? switches AND the physical memory on your system.
It’s 16MB. That’s it. I know it sucks, and we’re trying to address this one this time around.
Sorry for the inconvenience,
Brian. -
AuthorPosts