I'm attempting to use UWC to convert a large site from Twiki. The problem is it has lots of attachments and while it's going through the stage where it prints "attachment written" the memory usage is rather ridiculous: it appears to want over 24 GB: it pushes my machine which has 12 GB RAM over 12 GB into swap. Is there any way to reduce the amount of memory UWC needs, or do I just need to have plenty of swap space allocated and let it run
Reposting the important bits from my answer from the old forum here for doc purposes.
So there are two ways to upload attachments:
If you want to try using that feature, details here: UWC Webdav Attachments. Only downside I've run into is if your attachments have problematic names (like with question marks), then the upload can fail on that attachment.
Oh, and one other thought:
If you end up having to increase the memory you've given to your tomcat (which might be a good idea), you probably want to up the memory on the Confluence as opposed to the UWC itself (which you can do as well - let me know if you need instructions for that).
UWC has a FAQ and one question called my attention:
I have a very large wiki to convert. Are there any gotchas I should look out for?
Hope this helps you!
@Tyler re: Sounds like it's reading all the attachments into memory prior to shoving them into the Confluence system.
I could be wrong, but I do not think this is happening. As far as I can see it's just making the xmlrpc call, and it would be doing it one attachment at a time. If anyone wants to take a peak at the relevant code it's here: https://studio.plugins.atlassian.com/source/browse/UWC/devel/src/com/atlassian/uwc/ui/ConverterEngine.java?hb=true#to1366
Do you use templates with Confluence? Take part in a remote 1-hr workshop. You'll receive USD $100 for your time! We're looking for people to participate in a remote 1-hr workshop...
Connect with like-minded Atlassian users at free events near you!Find a group
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no AUG chapters near you at the moment.Start an AUG
You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs