We have a Swing application that processes relatively large amounts of data. For example, we are currently processing CSV files with millions of rows of data. For reasons of performance and simplicity, we simply store all the data in memory. However, different users will have different amounts of data that they need to process, as well as different amounts of RAM. When creating the installer, of course, we need to specify the size of the heap. Is there an easy way to let the user specify the heap without having to manually edit the configuration or the .bat file? I assume that not all users will be happy with this.
I saw one example in which the application indicated three different shortcuts, each of which has a different amount of memory. This might work, but I would like the option to be more flexible. Then the user can choose the one that is best for them.
source
share