Little App needs a lotta memory... plz help me debugging
Greetings.
I have programmed a little POP3-Checker in Java, using the JavaMail-API and the SysTray4Java-API. The programm is small, 112 KBytes, but running it needs 21 MB of Memory, the TaskManager says.
That's way too high, he? At first the Program needed between 19MB and 300 Kb Memory, that changed from time to time (most of the time it was at about 4Kb). But after I kept programming a little, it now needs 21MB ALL THE TIME.
So my question to you all is: Why could that happen, is this normal? How could I debug this, means how to find out what exactly needs this amount of memory? Is the GarbageCollector sleeping? (I'm not explicitly calling it in my app)
Advices would be appreciated!
Thanks ;),
AntiBit
Thanx, I will try that.
But I notied something really weird...
I started my App as an Executable-JAR, like I normally do. Like I said before, process "javaw.exe" at first needs 19.000 KB of memory, and after 10 min's, it still needs 19.000KB.
But when I manually run java ProgName in a DOS-prompt, the process "java.exe" at first needs 19.000 KB, like javaw.exe does -
after 10 minutes it only needs 240 KB (!!). So here it's like it should be.
So what's the difference between running the jar and manually running the programm? Why doesn't javaw.exe decrease it's memory-use, but java.exe does?
????!!!????
Similar Messages
-
Advice Needed on S60 Smartphone- Plz help...?
Hi everybody,
Plz recommend me a nokia s60 smartphone which should have following things in it:
1: a decent 1.5 inch or above screen with rich resolution
2: at least 2 mega pixel camera with flash + camera in front also
3: mp4 or avi recording
4: memory card with USB port support (no serial data ports)
5: should have bluetooth + infrared n more
6: nice internet data transfer rate with full HTML pages support
7: push to talk facility
8: stereo speakers - 2 preferably
9: fm stereo radio
10: easy and quick to type buttons
11: not too bulky : slide or otherwise
Expecting a positive response.
Oc9ine.i am not sure about the avi recording but you can consider the above two mentioned or the nokia n73 if you want a low budget phone...
Was this post of some help? Click 'Kudos' star on the right hand side of this post. Your gesture will be highly appreciated! -
Hi guys,
i am unable to download itunes apps, it is asking for credit card number, can anyonw tell me how to download apps without credit card number?
with regards
anilThe Apple Support Communities are an international user to user technical support forum. As a man from Mexico my first language is Spanish. I do not speak English, however I do write in English with the aid of the Mac OS X spelling and grammar checks. I also live in a culture perhaps very very different from your own. When offering advice in the ASC, my comments are not meant to be anything more than helpful and certainly not to be taken as insults.
The only way to get free apps without a bank card is to create a new Apple ID following Apple's steps very carefully;
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card -
http://support.apple.com/kb/HT2534 -
MSI K8N NEO Platinum Edition Memory plz help!
Hi
http://www.datorbutiken.com/se/defa...2X512DDRCA400PR
Is this memory ok with MSI K8N NEO Platinum Edition ?
If it is, do you know how well its oc:s?He would be talking about this:
http://www.newegg.com/app/viewProductDesc.asp?description=20-145-466&depa=0
But I wouldn't reccomend that memory mainly because I have heard mixed reviews about it. You can get the same (if not better) memory at either of these links, the only difference between the two links is the color of the heatspreader (as far as i can tell). This is the memory I have and it works very well, plus its much cheaper:
http://www.newegg.com/app/ViewProductDesc.asp?description=20-145-449&depa=0
http://www.newegg.com/app/ViewProductDesc.asp?description=20-145-450&depa=0 -
Unable to install itunes 8.1.1 need it for iphone plz help
i can download the 8.1.1 intaller but when i install a msg pops up which reads
"the windows installer service could not be accessed this can occur if you are running windows in safe mode or if the windows installer is not currently installed contact your support personel for assistance"
i have tried to download a new installer but it says mine is the newest so i checked out safe mode and i found out how to turn it on but not how to turn safe mode off but it does seem to be off! is there any other things that could be stopping this from installing??? any advivce would be much appreciated thankyou!Hey there,
Check out this Microsoft Support page with potential solutions to this error by clicking [here|http://support.microsoft.com/kb/319624]. Hope it helps.
B-rock -
Any advice on how to turn off Voice Control?
My phone is NOT working because of this.
PLEASE help
Thank youI have same problem. I can get to Settings > General, but can get any furthrt than Auto Lock! Screen won't scroll or anything. HELP!!!
-
query
create table third_party
(customer_id varchar2,
third_party varchar2,
foreign key (third_party) references account(type),
foreign key (customer_id) references customer(customer_id),
primary key(customer_id,third_party));
Error
ORA-00906: missing left parenthesisPlease see this ..these are done
create table account
(account_no number primary key,
type varchar2(10),
balance number(20) );
create table registered_account
( account_no number primary key,
customer_id varchar2(10),
foreign key (account_no) references account(account_no),
foreign key (customer_id) references registered_users(customer_id) );
create table registered_users
(customer_id varchar2(20) primary key,
user_id varchar2(10),
login_password varchar2(10),
foreign key (customer_id) references customer(customer_id));
create table transaction
(transaction_id number primary key,
to_account number,
from_account number,
tr_date date,
amount number,
customer_id varchar2(10),
foreign key (to_account) references account(account_no),
foreign key (from_account) references account(account_no),
foreign key (customer_id) references customer(customer_id));
create table has
(customer_id,
account_no,
foreign key (customer_id) references customer(customer_id),
foreign key (account_no) references account(account_no),
primary key(customer_id,account_no));
create table customer
(customer_id varchar2(20)primary key,
name varchar2(15),
address varchar2(50),
city varchar2(20),pin number(6),
dob varchar2(10),ph_no number(10));
The following is nt working
create table third_party
(customer_id varchar2(20),
third_party varchar2(10),
foreign key (third_party) references account(type),
foreign key (customer_id) references customer(customer_id),
primary key(customer_id,third_party)); -
In the new mail app for OSX v10.7 Lion it seems I can only setup my gmail account as an "imap", when I need to set it up as "pop"... PLZ HELP I NEED MY MAIL TO WORK!!!
Go to System prefs
Select Mail Contacts and Calendars
Then select Other
Then select "Add a Mail Account and click create
Then go to google for the settings you need:
First here for the settings online at gmail http://tinyurl.com/du3fu
Then here for the setting in mail http://tinyurl.com/38fevm8
These are instructions for Mail 4.0 but all of the necessary settings should be listed. -
when ever i'm tring to install an app from the app store i'm getting the following error.
"We could not complete your purchase - The product distribution file could not be verified. It may be damaged or was not signed".
someone plz help me to overcome this.Installing the appropriate combo update may help...
If you are running v10..7 Lion, install the OS X Lion Update 10.7.4 (Client Combo)
For 10.6 Snow Leopard > Mac OS X 10.6.8 Update Combo
Then restart your Mac. Try the App Store.
If that doesn't help, try the following..
Quit the App Store if it's open.
Open the Finder. From the Finder menu bar top of your screen click Go > Go to Folder
Type this exactly as you see it here:
/Library/Preferences/SystemConfiguration
Click Go
Move the NetworkInterfaces.plist file from the SystemConfiguration folder to the Trash.
Relaunch the App Store and try downloading Mountain Lion.
You may also need to disable anti virus software and turn off the Firewall in System Preferences > Security (or Security & Privacy) > Firewall -
Hii i m frm BGD. I m using iphone 5. My carrier BGD ROBI AXIATA. When it was ios 6 it works better . But i recently upgrade to ios 7 and i facing the little problem. One of the ussd call. Plz help or suggest ir doing better about itz as soon as possible.
I'm not trying to minimize your issues, but I have an iPhone 5S and find that I have not had these types of problems on AT&T. I'm wonding if something has gotten stuck in a loop that is continually trying to use data. If you make a good backup of your phone, try restoring it as new, and do not add anything to the phone right away. Let the device run like this for a little while and see what kind of usage you have. You report you phone is showing usage of 21GB. Did you rese this setting on the phone to begin at your billing period? The reason I ask this is some people believe this setting resets on its own with your billing period, it does not. This has to be manually reset by the user, so it might not be that accurate depending on the last time that you reset it.
If the phone seems to not use so much extra data during the period the device does not have extra apps on it, then try restoring from your backup and see what happens. If this increases your data usage quite fast again, then there is probably something corrupt in the backup that is causing this issue. -
I need help I updated my phone and when It was done updating if centime was missing and when I ask Siri to upend it she says I have to make an account how do I do this if i don't have the app plz help me apple
Any restrictions set up for FaceTime in Settings/General/Restrictions? If yes, disable them.
Also, there are carriers that don't support FaceTime. -
Guys Plz help urgent Phone memory is 0
i recievd a song from bluetooth and it has been saved but it reduced phone memory i tried to fing that song inthe phone memory but not found in phone memory plz tell me the locations so i can transfer to mass memory or bluetooth and can u plz tell me how to change the path of recieving anything means i received from bluetooth i want that it should be go to directly to massmemory folder .
OR
any one can tell me how to transfer the song from phone memory to mass memory
Solved!
Go to Solution.1) For your phone memory to be 0 you must have apps and everything stored there on C: and not utilising the mass storage E:.
I agree with matt_t that is how it is done when using bluetooth so havent a clue whats going on there.
2) Have you tried plugging your phone into your PC via USB and exploring your N97 throught my computer if using windows and double clicking the N97 icon.
Looking for the C: Phone folder and finding the song and dragging and dropping into E:mass memory music folder????
OR drag from your C: to your PC and dragging back to E:mass memory Music Foler if the above doesnt work.
BUT 1 song is usually on around 3MB so you still have issues with 0 memory.
3) If all your apps are stored on C: why dont you uninstall them and install onto your E:mass memory.
4) Internet i havent a clue about but with your memory so so low thats the least of your problems at the moment.
Thats all i have to help with i hope you find your song and your memory increases.
Message Edited by matto73 on 17-Oct-2009 05:45 PM
Nokia N97 Unbranded RM-505 [0585162]
Firmware 21.0.045
It's NOT about the Kudos they just make my day, hit the Star if I Helped. -
I have 4 apps that i just downloaded and they are 'Waiting' i need some one
To plz come up with a solution i dont want to erase my data cause i have over
100 games paid and free PLZ HELP i also have my smurfs game updating
And i cant get on it now cause
It wont update plz help!!!!!!!These links might be of help:
Troubleshooting applications purchased from the App Store
iPhone, iPad, iPod touch: Turning off and on (restarting) and resetting
iPod touch: Hardware troubleshooting
I would use these links in order { if the info on first link doesn't work, move to second link } -
Please help!!! I've erased all content in error! I thought I was resetting to factory settings!! I need to fix this as I've sold it on eBay!! Plz help!!
Sounds like your iPhone was previously hacked/modified/jailbroken and the
update relocked it to the original wireless carrier. If this is the case, only that
wireless carrier can unlock it.
Where did you get this iPhone?
What wireless carrier are you attempting to use it with?
Does the app Cydia appear on your iPhone?
What does it say when you look at Settings=>General=>Carrier?
I have asked the hosts to move this to the iPhone section as you are currently
in the iCloud forum and this is not an iCloud matter. -
I am unable to verify my account info plz help I have 100$ but can't purchase any app
I am unable to verify my apple I'd account information and can no more purchase apps.plz help
Is it giving you a message saying your Apple ID has been disabled? If so, you need to use Apple Express Lane
Maybe you are looking for
-
How to Supress -ve sign in report painter output
Dear All, I have developed a balance sheet using the report painter. The client wants to suppress the negative sign in the output. Is there any option to do this? Regards, Karthik
-
File Sharing with Windows XP?
Trying to connect from my windows machine to my mac. On the mac, I eneabled filesharing in the preferences, and enabled smb. I can connect windows to the mac (i.e. <double backslash><the mac's IP>) - once there I see one folder for each of the user's
-
Hi, I am trying to call the below classes from a function module to use the below methods to create the shopping cart. Classes: /SAPSRM/CL_PDO_FACTORY_SC_ADV /SAPSRM/CL_PDO_BO_SC Methods: GET_ITEM_DETAIL UPDATE_ITEMS SUBMIT_UPDATE SAVE Could you plea
-
Replace string in ms word file
Salue, I need to add a functionality to my Java app by allowing the replacement of strings in ms word files. Basically I need to use an original MS Word file as template and then populate it with data, replacing some keywords. And I need to do this w
-
Leave to selection screen from drill down ALV
Hi Guys, I am doing an interactive ALV report. In that, if I click on SAVE button in second interactive ALV, it should go to the selection-screen. The flow of the program is something like below. Selection-screen --> Main Report --> Detailed Report -