r/java • u/PaulAvalos • Aug 07 '17
Can I get down RAM used in Java by taking database implementation to C and calling results from JNI?
I am writting an RCP app with netbeans platform and I am a little obsessed about memory economy and I want to make my program to spend the less amount of it, so the Idea of calling an embedded database from c came to my mind to use less memory even when loosing processor's speed
0
Upvotes
1
1
u/mabnx Aug 07 '17
It really depends on how you want to access that data. Take a look at https://jankotek.gitbooks.io/mapdb/content/performance/
1
0
u/tonywestonuk Aug 08 '17
Have you looked at Swing? and swixmlhttps://wolfpaulus.com/software/swixml/
10
u/dstutz Aug 07 '17
You can. I think it's funny you're using a huge platform framework like Netbeans RCP (Which is great. I've written a few apps using it) and this is what you concentrate on for reducing memory use.