Advertisement

Selasa, 03 Mei 2011

Memory Use In Java


JavaProNews is a collection of news and commentary designed to keep you in step with the ever evolving landscape of Java environments. News and Advice for Java Professionals
May 03, 2011
Memory Use In Java
By Mark Stephens
When you run a Java application, there is usually a fixed maximum amount of memory which is available. This is usually 64 megabytes of memory.

So if you run a java program from the command line like this, the program can use a maximum of 64 megabytes of memory (this is the default).

java -jar jpedal.jar

Sometimes, you need more memory. So there is a useful Java option (-Xmx) to increase the maximum memory available. The format is slightly fiddly so best shown with an example which tells Java to use a maximum memory of 128 megabytes instead

Continue Reading

Interested in contributing to the Java community?
Can you write expert articles and news addressing the latest changes in Java development? If so, we are looking for you.Contact techwriters@ientry.com.


Today's Top Videos:
Winning Customers over on Social Media
Every company wants to avoid catastrophes on social media. However, it's also important for companies to know how to effectively respond to customer complaints and other negative feedback.
Facebook Calls Man "Spammer" and Gets Sued
Earlier this week, Facebook got handed a lawsuit from a man whom it claims is a spammer. The accused David Fagin, an AOL News Writer and musician, decided to make his story public after uncovering...
Facebook's New Security Measures Explained
Despite Facebook's long history of security concerns, the social network rolled out new measures in hopes of changing its past reputation. The new tools include updates to its Family Safety Center, an...
Recent Articles:
First Look At Drools Planner
Drools Planner is a sub project of the Drools project that started 4 years ago as Drools Solver. Drools Planner is focused on "NP complete" planning problems where a solution is hard to find, but easy to prove feasible once found. Examples include scheduling, bin packing and timetabling for instance. Drools Planner is particularly good at larger ones with lots of constraints, such as a staffing/roster problem where they are many roles and constraints as to...
Read More...

Choosing Sensible Optimisations For PDF...
We get to see a very wide range of PDF files from a large set of PDF creation tools in the process of developing a Java PDF viewer. PDF files can be constructed in a huge variety of ways and we are constantly looking at ways to make our code faster, use less memory and...
Read More...
Java images – Five Tips for Java ImageIO...
We have been doing a lot of work recently on images in Java and will be writing a series of articles on JPEG2000 support, access, bugs and other issues. First off, I want to take a look at performance. When you are generating a PDF image a lot of time is spent in...
Read More...
Allowing Users To Extend Your Java Code...
In my last two articles, I talked about giving developers access to your code and to control its functionality by adding their own code. It is also possible to provide a set of variables which allow the user to control your application. You can then reference these...
Read More...
Other iEntry Business Resources:
- WebProNews.com
- Jayde.com
- MarketingNewz.com
- SalesNewz.com
- CareerNewz.com
- InvestNewz.com
- eCommNewz.com
- WebsiteNotes.com
- AdvertisingDay.com
iEntry
 
-- JavaProNews is an iEntry, Inc. publication --
iEntry, Inc. 2549 Richmond Rd. Lexington KY, 40509
2011 iEntry, Inc. All Rights Reserved Privacy Policy Legal
Unsubscribe from JavaProNews or send an email request to: support@ientry.com

Tidak ada komentar:

Posting Komentar