Prepare for your Next Interview
This is a discussion on Running garbage values before compling within the Java forums, part of the Software Development category; Can we run garbage values before compling a program? When the memory needed to excute a particular program is not sufficient then can we make it up to run properly ...
|
|||
|
Running garbage values before compling
Can we run garbage values before compling a program? When the memory needed to excute a particular program is not sufficient then can we make it up to run properly by excuting garbage value before the program compiles? What is the command used if at all?
NOTE : [This question was asked by neetha] |
| Sponsored Links |
|
|||
|
Re: Running garbage values before compling
System.gc() helps the programmer suggest that the collecter run. The compiler may run it or may not.
Basically java specifications do not require the collecter to run on System.gc(). You cannot force garbage collecter to run, only recommend it run. So if your app is very memory intensive, I would suggest not to depend on grabge collecter. Unfortunately, without knowing more about your specific settings I can't suggest any alternative either. Can you specify more details about your problem |
![]() |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Running QTP from command line | sanitha | QTP | 1 | 06-05-2007 04:34 PM |
| remove duplicate values in a source using Informatica | JobHelper | Data Warehousing | 4 | 02-03-2007 04:13 AM |
| Picklist values are coming from S_LST_VAL table | JobHelper | Seibel | 3 | 01-13-2007 03:10 AM |
| The workflow is running forever | JobHelper | Data Warehousing | 0 | 01-10-2007 05:14 AM |
| Compare values of column in a table | JobHelper | SQL Server | 1 | 12-13-2006 01:57 AM |