| Author |
Message |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 23/05/2008 06:52:23
|
Keith
Initiate
Joined: 26/06/2007 11:19:05
Messages: 42
Offline
|
Hi
I have a couple of problems, not directly with Mango but supporting it.
1. The database, how do I manage it ? Currently it is saying its 260 odd Meg in size. This is beacuse I had it logging a lot of data, I've cleared that down but that didn't reduce the size, not surprising as the tables probably have taken the space. Are there any tools available ?
2. Tomcat is taking more and more memory, currently 184MB. Have you any reccommended settings ?
Otherwise everything is working fine and has been for ages.
Thanks
Keith
|
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 26/05/2008 14:09:16
|
mlohbihler
Master
![[Avatar]](/forum/images/avatar/eccbc87e4b5ce2fe28308fd9f2a7baf3.png)
Joined: 01/03/2007 22:48:52
Messages: 1850
Offline
|
Derby has a "compress" system procedure that will reclaim allocated but unused table space. That should cause the database size to drop.
There are derby utilities that can be found on the Apache site, but since Mango uses its database in an in-process, single user kind of way you will need to shut Mango down to be able to connect and do any maintenance.
The ideal memory settings for Mango would be to give it as much available memory as you can. Remember that Java will consume all memory that it has available to it before it will run a garbage collection, which will cause the memory utilization to suddenly drop. There are command line settings for telling Java how much memory it is allowed to use, which you can set in the Tomcat startup scripts.
Glad to hear your instance is working out for you.
Regards,
Matthew
|
Best regards,
Matthew Lohbihler |
|
|
 |
![[Post New]](/forum/templates/default/images/icon_minipost_new.gif) 28/05/2008 06:17:24
|
Keith
Initiate
Joined: 26/06/2007 11:19:05
Messages: 42
Offline
|
Thanks, I'll give that a try
|
|
|
 |
|
|