consumption

Updating from Java VM 5 to 6 gave a really big increase of memory consumption

Hi, I've be working with a Java application run through the command-line. It deals with XML files, specially the dblp.xml database which has more than 400MB. I was using JVM 5 and my app needed sort of 600-700MB of memory to processe the dblp.xml. After updating to JVM 6, it starting needing more than 1gb of memory (something I don't h...

How do you store consumption tax information in a database

What are your experiences with storing consumption tax information in a database (e.g. sales tax, GST etc.). I am looking for elegant and simple methods that will be suitable for Australia, the US and the UK. I am seeking answers from people who have dealt with the more complex intricacies of consumption tax : i.e. the cases where pro...

Memory Consumption ?

I have a piece of code where for ( ; ; ) { char *buf; /* Some code */ } The question here will the code allocate memory every time when it cycles through the loop . I mean atleast 4 bytes will be reserved for the pointer when it cycles . ...

Build a small code-hosting server at home

Hi! This is more of an hardware question than a software one but still...: I would like to have a server at home to play/experiment with it. The usages would be to host my own repositories (bzr, svn, etc), have a small webserver to host a wiki/trac for my personal programming projects and a ftp to host files. So I'm considering buying a...

iphone memory usage

After running with the memory analyzer, my app seems to increase its memory consumption very slowly. The analyzer did detect memory leaks whenever certain events occur, which i quickly fixed. But this slow consumption of memory is occuring when im not doing anything in the app. The app basically just starts. Consumption is more noticeab...

how to calculate power consumption on an Android mobile that uses wifi?

Hello, I have implemented a routing protocol on an Android 1.6 mobile that uses wireless (ad-hoc) network in order to exchange messages. Now I would like to evaluate it under an energy consumption point of view, the base would be to try to calculate the energy wasted to transmit a single packet, do anybody has any idea how to do that? So...

Memory consumption in Cherrypy

I am using Cherrypy in a RESTful web service and server returns XML as a result (lxml is being used to create XML). Some of those XMLs are quite large. I have noticed that memory is not being released after such request (that return large XML) has been processed. So, I have isolated a problem and created this one very short dummy examp...