Forum Discussion
Hi,
I don't think I can help per se - but I'm intrigued - this'll probably require an answer by SmartBear.
I suppose it depends what sort of XML parser ReadyAPI! uses - DOM vs SAX or variations there of.
Did you check the resource usage via say taskmanager when you try and import the project?
As I say - my comments have been no help at all - but to help diagnose I'd repeat the procedure and monitor taskmanager to check the resource usage.
I did find the following link on this forum
I think you might have to revert back to your previous approach to source the test data files from the directory - I'm assuming you cached the files to get around some latency of reading the test data files from the directory?
richie
Thanks for the reply. I checked the task manager and when I attempt to import the project, ReadyAPI's CPU usage jumps to approximately 90% for about 2 seconds and then it comes back down to 0%. So it does attempt to import the project but then gives up I guess. I see on that link you provided that no one has yet to complain about the file size of project. I might have hit the limit of SoapUI with my case.
And you assumed correctly as to why I cache the files in the project. Reading a 50MB file off the directory will cause unnecessary latency. But in this case, it might not be recommended to cache such large files. :-/
I have reverted back to a previous version of the project before I added the 50MB file tests and the project does import successfully. Hopefully Smartbear can help me with this issue. I would be happy if this helps Smartbear with project file size research.
- groovyguy7 years agoCommunity Hero
I've ran into similar issues that when a project gets significantly large enough (usually 100MB or larger), that ReadyAPI takes awhile to open it. One way I've been able to get around this is to ensure that your memory settings in ReadyAPI are set large enough to handle said project. You can see a guide for adjusting memory settings here.
I've allowed ReadyAPI to use a lot more memory which has helped me open 100-200MB project xml files.
- ecepeda7 years agoNew Contributor
The file size of my xml file is 623MB. I tried to increase the amount of allocated memory (increasing the -Xmx on the .vmoptions file) but that did not work. I was still unable to import the project. My work PC has 8GB of RAM so the recommend value by SmartBear is half of that (-Xmx4000m). Would allocating more memory resolve this issue? Feels like I would need about 32GB of RAM (-Xmx16000m) in order to import this project if that's the case.
- groovyguy7 years agoCommunity Hero
The largest I've gotten a project is ~200MB, and that took 2-5 minutes to open on my machine. I have 32GB of RAM and set my vmoptions to 24GB.
Related Content
- 5 years ago
- 3 years ago
- 8 years ago
Recent Discussions
- 10 days ago