Java

Contains tips for configurators working with Aware IM
Rennur
Posts: 1191
Joined: Thu Mar 01, 2012 5:13 am
Location: Sydney, Australia

Post by Rennur »

Some earlier posts on server memory settings:
http://www.awareim.com/forum/viewtopic. ... ght=memory
1) Tomcat memory should be increased if you have many concurrent users
2) JBoss memory should be increased if you transfer large chunks of data between client and server - such as large documents and/or pictures
3) Configuration Tool memory should be increased if your BSV is large
4) The rest is Aware IM Server - all other issues related to the application performance, such as rule processing, database operations etc etc etc. The Aware IM Server is the most important component and you should give it as much memory as your server allows

Multi-processing capabilities depend on the version of Java used. You can run Aware IM with any Java version, including 64-bit. It's very easy to replace the built-in Java version with the version of your choice. We have no plans yet to integrate 64-bit out-of-the-box just yet.
_________________
Aware IM Support Team
RLJB
Posts: 914
Joined: Tue Jan 05, 2010 10:16 am
Location: Sydney, Australia

Post by RLJB »

Hi Support

Above you state:
On Mac Aware IM does NOT include its own Java - it uses the Java version setup in the operating system. So if your current Java version is 64-bit then Aware IM should use it. You still need to copy the corresponding tools.jar as recommended in this thread
Can you please confirm what happens with the Linux version of Aware? Does it use the OS Java? Do we still need to copy the corresponding tools.jar as recommended in this thread?

Tks
Rod. Aware 8.6 (latest build), Developer Edition, on OS Linux (Ubuntu) using GUI hosted on AWS EC2, MYSQL on AWS RDS
tford
Posts: 4238
Joined: Sat Mar 10, 2007 6:44 pm

Post by tford »

Support
The easiest would be to rename AwareIM/JDK to AwareIM/JDK32 and copy 64 bit JDK to the AwareIM/JDK directory.

You also need to rename AwareIM/Tomcat/shared/lib/tools.jar to tools32.jar and copy tools.jar from the 64bit JDK to AwareIM/Tomcat/shared/lib
Will this step need to be done again each time a new AwareIM build is applied?
Tom - V8.8 build 3137 - MySql / PostGres
ACDC
Posts: 1143
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Post by ACDC »

I work with 64bit all the time. Each time you do an update you need to copy the 64bit JDK and the tools.jar from the previous install into the new install
hpl123
Posts: 2600
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

Post by hpl123 »

ACDC wrote:I work with 64bit all the time. Each time you do an update you need to copy the 64bit JDK and the tools.jar from the previous install into the new install
ACDC,
Regarding the use of 64bit Java. Does everything work in Aware IM, applications when you use 64bit? Also, do you use higher memory allocation on server, config tool etc. than the "standard" 2GB diveded and if so have you noticed much/any change in application, config tool etc performance?

Thanks

PS: If everything works and you have noticed performance increase, could you share the memory allocation settings you think work the best?
Henrik (V8 Developer Ed. - Windows)
ACDC
Posts: 1143
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Post by ACDC »

Everything works as it should, for large and complex apps you have to move to 64bit as 32bit severely restricts the scope of operation
ACDC
Posts: 1143
Joined: Sat Jun 30, 2007 5:03 pm
Location: California, USA

Post by ACDC »

with regards to memory settings, you need to watch the memory usage in realtime of the AIM , Tomcat, Jboss servers. If your memory usage is running close to its maximum settings then you need to increase the memory to provide more head room . This means you may have to move to 64 bit if you reach the 2gb limit of a 32 bit system

So it really depends on your app and how much memory it requires to run. Also dont forget the database, sometimes it gets more efficient when you allocate more ram to the db
hpl123
Posts: 2600
Joined: Fri Feb 01, 2013 1:13 pm
Location: Scandinavia

THX

Post by hpl123 »

Thanks ACDC, I will look into start using 64bit as standard instead.

Support, having 64bit as the default package would be great. Just saying! :).
Henrik (V8 Developer Ed. - Windows)
corradomatt
Posts: 64
Joined: Wed Jul 06, 2011 6:16 am

Post by corradomatt »

Yea Support! 32bit is soooo 2010! Maybe offer 2 packages for download at least, one for each. That way legacy customers who still need 32bit will still have an option until they upgrade.
Post Reply