Author: Jiangnan Baiyi, latest version link: Beijing.
I originally wanted to set the question as "don't stop", but I still want to do it by YY.The biggest obstacle to Java Development Server is that the serial garbage collection mechanism before JDK
Eclipse is often used in website construction. It takes a lot of time to start each time. How can we optimize it?
Version: eclipse3.6
Parameter configuration file: Eclipse. ini
Result: After modification, the startup speed is obviously faster.
Note:
Http://www.ibm.com/developerworks/cn/java/j-lo-scalbility? S_tact = 105agx52 & s_cmp = tec-csdn # Resources
Use Java to construct highly scalable applicationsHow to implement an efficient and multi-thread secure queue
First of all, I would like to thank Alibaba Cloud for helping me understand the adjustment of this GC algorithm, rather than staying at the stage of understanding. After reading Sun's document and discussing it with Apsara, let's make a small
Transferred from: http://icyfenix.iteye.com/blog/715301The background of this post is tonight to see JE on this posting: http://www.iteye.com/topic/715256, the words written on impulse, if you can, can have other interviewers to analyze their
The session is a more commonly used in PHP, we often use it as a record of global page information, if the user login, background management, there is a common in the shopping cart class, I would like to introduce you.
About the application of the
3.JVM parametersIn the JVM startup parameters, you can set some parameters related to memory, garbage collection, the default is not to do any settings JVM will work well, but for some well-configured server and specific applications must be
-xx:+useparallelgcWith this option, both the minor GC and the major GC use the parallel garbage collectorThe thread used by the parallel garbage collector equals n when the host core n is less than or equal to 8 o'clockN>8, a factor is multiplied by
1 java. io. IOException: java. io. IOException: java. lang. IllegalArgumentException: offset (0) + length (8) exceed the capacity of the array: 4
This occurs when simple incr operations are performed. The reason is that the int length is vlen = 4
[Java Performance Analysis] Sun JVM memory management and garbage collectionMemory Management and garbage collection are critical aspects of JVM. For Java performance analysis, it is very important to understand the basic memory management and
I originally wanted to set the question as "don't stop", but I still want to do it by YY.
The biggest obstacle to Java Development Server is that the serial garbage collection mechanism before JDK will cause a long service suspension. After
Garbage Collection Part 2: Automatic Memory Management in the Microsoft. NET Framework
GC: Automatic Memory Management in. net framework
Jeffrey Richter
This document assumes that you are familiar with C and C ++
Summary: The first part of
The Java heap is described as follows:
Heap = {old + new = {Eden, from, }} Memory is composed of perm and heap.
Heap = {old + new = {Eden, from, }}JVM
The memory model has two major blocks:
New generation,
The other is
Old Generation.
In
New
Java. lang. OutOfMemoryError: GC overhead limit exceeded, limitexceeded
The reason for writing it down is that you don't want to find it everywhere next time. Many times the error message is the same, but there are many causes.
I tested the
Eclipse: An internal error occurred during: "Build Project". GC overhead limit exceeded, overheadexceeded
When using the Eclipse Build Project function, the following error is prompted:An internal error occurred during: "Build Project". GC
Whether it is ygc or full GCProgramDuring running interruption, correctly select different GC policies and adjust JVM and GC parameters, which can greatly reduce the program running interruption caused by GC, in this way, the Java program's work
Document directory
Young Generation
Elder Generation
Permanent generation
Heap memory setting principle JVM heap memory is divided into two parts: permanent space and heap space.
Permanent (permanent generation) Stores Java class definition
1. Heap configuration and garbage collectionJava heap is divided into three zones: young, old, and permanent. Young stores the just-instantiated object. When the area is filled up, GC moves the object to the old area. The permanent area stores the
Garbage collection algorithm and Garbage Collector1. Live time determines the collection algorithm of the New and Old generations.
The new generation uses copy collect and the old generation uses markseep or markcompact.
In the new generation,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.