OutOfMemory-help on memory saving tips
Hello,
I am fairly new with Java.
My software ran out of memory when I tried to process much more input than it had ever done before.
I realized that one of the problems was that it woudl have been a good idea to specify the size of the big ArrayLists I use to prevent them from allocating more memory than necessary. BTW, I already use the -Xms -Xmx options when running java.
Unfortunately, I can't see any other way of saving memory. I paste below the relevant sections of code where I think there are improvements to be made and my comments/questions. I would be really grateful if you could help me in this.
Piece of code number 1:
HashMap srcToNewCand = new HashMap(35000);
//I would need only 25000 key-value pairs, but I do not want the HashMap to start reloading for space when it is almost full. So, I declared it to be initially of 35000 key-value pairs. Was that a bad idea ?
debug("Loading dictionary-based candidates...");
if (extendListCandidates) {
RerankInstance [] newCandExamples = new RerankInstance[examples.length+10000];
newCandExamples = TestListPreparation_G.readExamples(new File (newCandPath));
System.out.println ("...Check this out: how many examples..." + newCandExamples.length);
for (int j = 0; j < newCandExamples.length; j++) {
String src = newCandExamples[j].getSourcePhrase().getPhrase();
for (Iterator it = newCandExamples[j].getCandidates(); it.hasNext();) {
CandidatePhrase c = (CandidatePhrase)it.next();
// System.out.println("THERE " + c.getPhrase());
srcToNewCand.put(src, newCandExamples[j]);
=======================================
Piece of code number 2:
public static RerankInstance [] readExamples(File in)
throws IOException
int initialSize = 25500; //There will actually be 25000 objects in the ArrayList ret
ArrayList ret = new ArrayList(initialSize);
BufferedReader r = new BufferedReader(new InputStreamReader(new FileInputStream ...
String line, spanish=null, gold = null;
ArrayList candidates = new ArrayList(); //There can be at most 205 elements, and in
//cases less than 205. So, I am not sure that is is wise to
//establish from the beginning the initial size of ArrayList candidates to 205.
ArrayList LM_likelihoods = new ArrayList(); //Same for these ArrayLists
ArrayList TM_likelihoods = new ArrayList();
ArrayList LM_TM_likelihoods = new ArrayList();
Double lm = null;
Double tm = null;
Double lm_tm = null;
boolean readingCandidates = false;
RerankInstance current = null;
int cnt = 0;
while ( (line = r.readLine()) != null)
if (line.equals("<REC>"))
if (line.equals("</REC>"))
if (spanish != null && candidates.size() > 0)
System.out.println("Spanish=" + spanish);
if (++cnt % 10 == 0)
System.out.print(cnt + " ");
String [] cands = (String [])
candidates.toArray(new String[0]);
RerankInstance foo = new RerankInstance(spanish, cands);
//How important would it be for memory saving not to create LM_likes below ?
if (LM_likelihoods.size() > 0 ){
Double [] LM_likes = (Double[])LM_likelihoods.toArray(new Double[0]);
foo.setLikelihoods_single(LM_likes);
if (TM_likelihoods.size() > 0 ){
Double [] TM_likes = (Double[])TM_likelihoods.toArray(new Double[0]);
foo.setLikelihoods_single(TM_likes);
if (LM_TM_likelihoods.size() > 0 ) {
Double [] LM_TM_likes = (Double[])LM_TM_likelihoods.toArray(new Double[0]);
foo.setLikelihoods_single(LM_TM_likes);
foo.read_setLikelihoods(foo,LM_likelihoods,TM_likelihoods, LM_TM_likelihoods);
ret.add(foo);
foo.setGold(gold);
spanish = null;
gold = null;
candidates.clear();
LM_likelihoods.clear();
TM_likelihoods.clear();
LM_TM_likelihoods.clear();
r.close();
System.out.println("RET LENGTH " + ret.size());
System.gc();
return (RerankInstance [])ret.toArray(new RerankInstance[0]);
I guess, this is the problem, but I need to process the files and put every chunk into an object RerankInstance. And each RerankInstance into the array for further processing ...
Is it the array size or reading the file ? Or both ? This is the first time I deal with these huge files.
What are the techniques for dealing with them ?
The file is a set of sequences like this one between <REC> and </REC> and I load each of them into RerankInstance objects, which I report below, just in case :
<REC>
Spanish=dimensi�n patrimonial
Gold=part
<CANDIDATES>
heritage -21.487333459850646 -18.621516230769643 -40.10884999269363
heritage ' -24.333740847686165 -18.829122778712982 -43.1628646120767
dimension heritage -33.36906589697976 -9.977052287654427 -43.34612137267963
scale heritage -31.950884548302326 -12.290624504161759 -44.241509982724374
i heritage -26.1880298363302 -19.114430105787065 -45.30246266721862
aspect heritage -32.913069542285406 -13.020032446306868 -45.933101380644814
size heritage -34.23091676545765 -11.87414357059991 -46.1050636078338
dimension heritage ' -36.215471186538686 -10.184660190733727 -46.4001337286498
dimensions heritage -34.64893953584428 -11.985933603236262 -46.634874187232285
dimension to heritage -36.636846373518104 -10.292145692327923 -46.92899305690606
extent heritage -32.17625397505681 -14.979772384720786 -47.156025426894395
element heritage -33.964103113598426 -14.16680002962667 -48.13090343035614
level heritage -31.662813503493684 -16.712797571218466 -48.37560967492999
i dimension heritage -38.06976360615384 -10.469966840492953 -48.53973138075892
side heritage -34.12488687204262 -15.187121253699013 -49.31200402851826
mafia heritage -33.307202042321556 -16.785347040598296 -50.09254736220585
pecuniary heritage -36.844249654645914 -13.510639565091813 -50.35488773970646
aspects heritage -36.14221235514915 -15.78933881593482 -51.93154990091026
</CANDIDATES>
</REC>
public class RerankInstance
private CandidatePhrase srcPhrase;
private LinkedHashMap candidates = new LinkedHashMap();
private String gold = null;
public RerankInstance(String sourcePhrase,
String [] candidatePhrases)
boolean flag = false;
ISIPhrase source = new ISIPhrase(sourcePhrase, flag);
//this.srcPhrase = makeCandidatePhrase(source);
this.srcPhrase = new CandidatePhrase(source);
candidates = new LinkedHashMap();
for (int i = 0; i < candidatePhrases.length; i++)
if (candidatePhrases[i] == null ||
candidatePhrases.trim().length() == 0)
continue;
ISIPhrase temp = new ISIPhrase(candidatePhrases[i], false);
if(candidates.containsKey(temp.getPhrase()))
temp.setIgnore(true);
flag = true;
CandidatePhrase cp = new CandidatePhrase(temp);
//CandidatePhrase cp = makeCandidatePhrase(temp);
if (cp == null)
continue;
candidates.put(temp, cp);
// methods............
}//end of class
Similar Messages
-
I'm new to this forum and I apologise if this has been asked before.
I'm currently writing a program which builds indices for a rather large data-base.
this process uses hefty amounts of memory, and this leads problems because
although I dont get a OutOfMemory Error, the contant running of the garbage collector
slows the program to a halt. if any of you have any quick tips for memory conservation that would be really helpfull (I have already weede out most of the unnecessary new calls).
thanks in advancealthough I dont get a OutOfMemory Error, the contant
running of the garbage collector
slows the program to a halt. if any of you have any
quick tips for memory conservation that would be
really helpfull (I have already weede out most of the
unnecessary new calls).You could use the Factory Pattern. Instead of letting go of an object you give it back to the class. When you ask the class for a new object it first checks if there's one in store before instantiating a new one. This will take care of a high object turnover rate. -
Cost saving tips in using Blackberri​es
Does anyone have any tips they would be willing to share regarding cost saving tips? I'm looking for anything that may save our employees money with their voice and data plans. One example I know of is: turn off your phone when traveling overseas to avoid roaming charges.
There are also applications available which allow you to keep track of data usage, and can let you know when your data is getting close to the monthly limit. One application I've seen is MiniMoni. It isn't perfect, but supposedly does a decent job.
If you want to thank someone for their comment, do so by clicking the Thumbs Up icon.
If your issue is resolved, don't forget to click the Solution button on the resolution! -
during restore of my backup on iphone 5s i saw my photos and videos get doubled on ios 8.0 and moreover
if i use to go at my computer and then open my iphone and in folder i see some files name local disk and my photos
please help my memory doubles.I'm not sure, but I know it's not recommended to upgrade to iOS 8 on anything older than an iPhone 5. I only lost my music playlists and music that was on my phone, but that music is also on my iTunes, not the playlists though, and I don't want to go through ALL my iTunes library to fix it either... But it seems I don't have a choice right now.
Whatever you do, do NOT upgrade to iCloud Drive, keep iCloud till OS X Yosemite comes out, if your computer is a Mac. I also just noticed that all my documents on my phone are gone from Pages, BUT if I go on the iCloud website they are still there. Hopefully it will all work itself out when I can update my macbook pro to OS X Yosemite.
If you backed up your phone and all your purchases off your iPhone prior to trying to upgrade you should be fine... But I'm not even remotely sure. -
New to Oracle - could really use help with memory configuration
I'm new to Oracle and am assuming the support role on a system that is using Oracle 8.1.7 as the database server and need help with memory configuration.
The server is being used with FileNet and we're having issues while trying to purge logs (purge never completes) and the disk drive activity LED is on almost solid. My guess is is that it's not using enough/doesn't have enough memory therefore constantly reading off the disk and going too slow to finish the purge between nightly backups in which the database service is stopped.
The server is running on Windows 2000 Server SP4, has 1G of RAM and is dual-Xeon processor.
Any help or starting point references would be greatly appreciated.Hi ...
You can use a StatsPack for guess the best distribution memory with your DB needs.
See metalink Note:228913.1
Regards -
My iphone 4s has been dying within 4 hrs of being fully charged without even using it...i have already done all the battery saving tips n still not working do i need a new battery?
go to apple and get your battery looked at by a apple genius
-
hi can someone please help me concerning my nokia e72, i have bought a 16gb memory card currently waiting on it but in the mean time the 4gb which came with the phone isn't allowing me to put any music on go on the internet, play the radio....do anything really. what is the problem? i have no idea what to do.....also how do i put music on the phone? when i plug it into the computer, files open but which 1 do i put music in too is it the download file?? i am totally lost with this phone actually thinking of taking it back its just very complicated...i need step by step info on how to delete my memory and how to put music on.
one other thing the phone is quite slow it freezes alot i have to take the battery out inorder to get it working again why is this? due to no memory?? does this phone save all the web pages i use?? what is using up the memory?? please help!!!
thansk.Do you want to delete all the info on the memory card or from your phone. Dialling *#7370# from the main screen wipes out the phone memory by doing this you will lose all your data stored on to your phone memory like contacts, notes, bookmarks any applications installed, nokia music licenses ( you can later retrieve this) etc. In order to format your mem card so it from your phone go to file manager and use 'format mem card' For storing music on the card create a folder named 'music' or 'mp3' and place all your songs there, open your music player and refresh music library, wait till all the songs are added.
If a reply has solved your problem click Accept as solution button, doing it will help others know the solution. Thanks. -
Jrockit crashes due to outofmemory and illegal memory acces
Hello,
We have been using jrmc-3.1.2-1.6.0 and lately we are seeing JVM crashes after every couple days. Note: We have been seeing these crashes recently , for last 1 year we did not see such crashes.
Following are different issues that we have seen over last few days:
1. Crash due to illegal memory access
2. Crash due to out of memory error
3. Sever becoming unresponsive/Idle
For illegal memory access and out of memory crashes, there was jRockit dump file created and Dump file seems to be pointing at Jrockit libjvm.so module for the exception/crash.
Any help would be appreciated!
*** Dump for Illegal Memory Access
Error Message: Illegal memory access. [54]
Signal info : si_signo=11, si_code=1 si_addr=0x10
Version : BEA JRockit(R) R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32
CPU : Intel Core i7 (HT) SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 Core Intel64
Number CPUs : 4
Tot Phys Mem : 12762509312 (12171 MB)
OS version : Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Linux version 2.6.18-164.15.1.el5PAE ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Mon Mar 1 11:14:09 EST 2010 (i686)
Thread System: NPTL
Java locking : Lazy unlocking enabled (class banning) (transfer banning)
State : JVM is running
Command Line : -Djava.util.logging.config.file=/usr/local/springsource/tcServer-6.0/zplus/conf/logging.properties -Djava.util.logging.manager=com.springsource.tcserver.serviceability.logging.TcServerLogManager -Xmx2048m -Xms2048m -Djava.rmi.server.hostname=300714-web8.echovox.com -XgcPrio:pausetime -DTERRACOTTA_URL=338449-web10.echovox.com:9510,338450-web11.echovox.com:9510 -Dapp_version= -Xmanagement -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dehcache.monitor.enabled=True -Djava.endorsed.dirs=/usr/local/springsource/tcServer-6.0/tomcat-6.0.20.A/endorsed -Dcatalina.base=/usr/local/springsource/tcServer-6.0/zplus -Dcatalina.home=/usr/local/springsource/tcServer-6.0/tomcat-6.0.20.A -Djava.io.tmpdir=/usr/local/springsource/tcServer-6.0/zplus/temp -Dsun.java.launcher=SUN_STANDARD org.apache.catalina.startup.Bootstrap start
java.home : /usr/local/jrmc-3.1.2-1.6.0/jre
j.class.path : :/usr/local/springsource/tcServer-6.0/tomcat-6.0.20.A/bin/bootstrap.jar
j.lib.path : /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/jrockit:/usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386:/usr/local/jrmc-3.1.2-1.6.0/jre/../lib/i386
JAVA_HOME : <not set>
JAVAOPTIONS: <not set>
LD_LIBRARY_PATH: /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/jrockit:/usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386:/usr/local/jrmc-3.1.2-1.6.0/jre/../lib/i386
LD_PRELOAD : <not set>
LD_ASSUME_KERNEL: <not set>
StackOverFlow: 0 StackOverFlowErrors have occured
OutOfMemory : 0 OutOfMemoryErrors have occured
C Heap : Good; no memory allocations have failed
GC Strategy : Mode: pausetime. Currently using strategy: genconcon
GC Status : OC currently running, in phase: marking. This is OC#2905.
: YC is not running. Last finished YC was YC#100045.
OC History : Strategy genconcon was used for OC#2776.
: Strategy genconpar was used for OC#2777 to OC#2781.
: Strategy genconcon was used for OC#2782 to OC#2783.
: Strategy genconpar was used for OC#2784 to OC#2790.
: Strategy genconcon was used for OC#2791 to OC#2905.
YC History : Ran 1 YCs before OC#2901.
: Ran 0 YCs before OC#2902.
: Ran 1 YCs before OC#2903.
: Ran 0 YCs before OC#2904.
: Ran 2 YCs before OC#2905.
YC Promotion : Last YC successfully promoted all objects
Heap : 0x8b00000 - 0x88b00000 (Size: 2048 MB)
Compaction : 0x49b00000 - 0x51b00000 (Current compaction type: internal)
NurseryList : 0xaf67e18 - 0x8226c988
KeepArea : 0x817031e8 - 0x8226c988
NurseryMarker: [ 0x80d031f0, 0x817031e8 ]
CompRefs : References are 32-bit.
Registers (from ThreadContext: 0x96b75420 / OS context: 0x96b7551c):
eax = 00000000 ecx = ffffffcc edx = 8b80eb78 ebx = 8b80eb78
esp = 96b75814 ebp = 96b75960 esi = 96b75a48 edi = 00000000
es = 0000007b cs = 00000073 ss = 0000007b ds = 0000007b
fs = 00000000 gs = 00000033
eip = b7d3a397 eflags = 00210296
Loaded modules:
(* denotes the module causing the exception)
08048000-08058233 /usr/local/jrmc-3.1.2-1.6.0/jre/bin/java
b7f24000-b7f2462b /usr/local/jrmc-3.1.2-1.6.0/jre/bin/java
00754000-00768f17 /lib/libpthread.so.0
006b2000-006d8a23 /lib/libm.so.6
006ab000-006ad0fb /lib/libdl.so.2
00550000-006a2723 /lib/libc.so.6
00531000-0054b4f7 /lib/ld-linux.so.2
b7c46000-b7e9fea7 */usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/jrockit/libjvm.so
007a3000-007a9ebf /lib/librt.so.1
b722f000-b723839b /lib/libnss_files.so.2
b7118000-b71229bb /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libverify.so
b70f3000-b7115f57 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libjava.so
007ae000-007c27a7 /lib/libnsl.so.1
b723e000-b7243ef0 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/native_threads/libhpi.so
b59f0000-b59fe3e4 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libzip.so
b5805000-b580a666 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libmanagement.so
b5224000-b5236a18 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libnet.so
b723c000-b723c6ad /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/librmi.so
b2d42000-b2d45c2f /lib/libnss_dns.so.2
b2d2e000-b2d3d74b /lib/libresolv.so.2
b2d4a000-b2d503a4 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libnio.so
b1f9d000-b1fc5857 /usr/local/springsource/tcServer-6.0/zplus/temp/tmpSigarJars841342613926113968186721535772/libsigar-x86-linux-1.6.4.so
Stack:
(* marks the word pointed to by the stack pointer)
96b75814: b7cbce41* 00000000 006772e2 b04dbab8 006a4ff4 00000030
96b7582c: 00000002 96b758a0 00000000 00000000 00010000 0061eea8
96b75844: b7e48510 00010000 00000000 0061eeb9 b7d8f0f8 20000000
96b7585c: 00010000 00000000 00004022 ffffffff 00000000 96b75890
Code:
(* marks the word pointed to by the instruction pointer)
b7d3a364: c0a108ec e8b7f0fe ffffffa0 f0fed4a1 ff96e8b7 b8c9ffff
b7d3a37c: 00000001 900debc3 90909090 90909090 90909090 8be58955
b7d3a394: 8b5d0845* d2851050 0fc0950f b60fc0b6 768dc3c0 27bc8d00
b7d3a3ac: 00000000 53e58955 0134ec81 9d8d0000 fffffee8 04245c89
"RMI TCP Connection(idle)" id=440712 idx=0x7c4 tid=825 lastJavaFrame=0x96b75ecc
Stack 0: start=0x96b54000, end=0x96b78000, guards=0x96b59000 (ok), forbidden=0x96b57000
Thread Stack Trace:
at jniExceptionCheck+7()@0xb7d3a397
at cmgrGenerateCode+260()@0xb7cbe024
at generate_code2+937()@0xb7da6c99
at generate_code+97()@0xb7da6f11
at get_runnable_codeinfo2+275()@0xb7da74c3
at call_java+317()@0xb7d42f0d
at jniInvoke+110()@0xb7d451be
-- Java stack --
at jrockit/vm/Reflect.invokeMethod(Ljava/lang/Object;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeConstructorAccessorImpl.newInstance0(Ljava/lang/reflect/Constructor;[Ljava/lang/Object;)Ljava/lang/Object;(Native Method)
at sun/reflect/NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
at sun/reflect/DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)[optimized]
at java/lang/reflect/Constructor.newInstance(Constructor.java:513)[optimized]
at java/lang/Class.newInstance0(Class.java:355)[inlined]
at java/lang/Class.newInstance(Class.java:308)[optimized]
at sun/reflect/MethodAccessorGenerator$1.run(MethodAccessorGenerator.java:381)
at jrockit/vm/AccessController.doPrivileged(AccessController.java:233)[inlined]
at jrockit/vm/AccessController.doPrivileged(AccessController.java:241)[inlined]
at sun/reflect/MethodAccessorGenerator.generate(MethodAccessorGenerator.java:377)[optimized]
at sun/reflect/MethodAccessorGenerator.generateMethod(MethodAccessorGenerator.java:59)
at sun/reflect/NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:28)
at sun/reflect/DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)[optimized]
at java/lang/reflect/Method.invoke(Method.java:597)[inlined]
at java/io/ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945)[inlined]
at java/io/ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461)[optimized]
at java/io/ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392)[inlined]
at java/io/ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)[inlined]
at java/io/ObjectOutputStream.writeObject(ObjectOutputStream.java:326)[optimized]
at sun/rmi/server/UnicastRef.marshalValue(UnicastRef.java:274)
at sun/rmi/server/UnicastServerRef.dispatch(UnicastServerRef.java:315)
at sun/rmi/transport/Transport$1.run(Transport.java:159)
at jrockit/vm/AccessController.doPrivileged(AccessController.java:255)[optimized]
at sun/rmi/transport/Transport.serviceCall(Transport.java:155)
at sun/rmi/transport/tcp/TCPTransport.handleMessages(TCPTransport.java:535)
at sun/rmi/transport/tcp/TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
at sun/rmi/transport/tcp/TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
at java/util/concurrent/ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)[inlined]
at java/util/concurrent/ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)[optimized]
at java/lang/Thread.run(Thread.java:619)[optimized]
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of trace
Extended, platform specific info:
libc release: 2.5-stable
Elf headers:
libc ehdrs: EI: 7f454c46010101000000000000000000 ET: 3 EM: 3 V: 1 ENTRY: 00565fe0 PHOFF: 00000034 SHOFF: 0019ccbc EF: 0x0 HS: 52 PS: 32 PHN; 10 SS: 40 SHN: 75 STIDX: 74
libpthread ehdrs: EI: 7f454c46010101000000000000000000 ET: 3 EM: 3 V: 1 ENTRY: 00758850 PHOFF: 00000034 SHOFF: 00021474 EF: 0x0 HS: 52 PS: 32 PHN; 9 SS: 40 SHN: 40 STIDX: 39
libjvm ehdrs: EI: 7f454c46010101000000000000000000 ET: 3 EM: 3 V: 1 ENTRY: 0004c3a0 PHOFF: 00000034 SHOFF: 012c9a58 EF: 0x0 HS: 52 PS: 32 PHN; 4 SS: 40 SHN: 29 STIDX: 26
* If you see this dump, please go to *
* http://edocs.bea.com/jrockit/go2troubleshooting.html *
* for troubleshooting information. *
===== END DUMP ===============================================================
****** Dump for OutOfMemory error
Error Message: Out of memory [68]
Signal info : si_signo=11, si_code=1 si_addr=(nil)
Fatal Error : Reference Iteration refIterInit src/jvm/code/runtime/refiter.c:167
Version : BEA JRockit(R) R27.6.5-32_o-121899-1.6.0_14-20091001-2113-linux-ia32
CPU : Intel Core i7 (HT) SSE SSE2 SSE3 SSSE3 SSE4.1 SSE4.2 Core Intel64
Number CPUs : 4
Tot Phys Mem : 12762509312 (12171 MB)
OS version : Red Hat Enterprise Linux Server release 5.6 (Tikanga)
Linux version 2.6.18-164.15.1.el5PAE ([email protected]) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP Mon Mar 1 11:14:09 EST 2010 (i686)
Thread System: NPTL
Java locking : Lazy unlocking enabled (class banning) (transfer banning)
State : JVM is running
Command Line : -Djava.util.logging.config.file=/usr/local/springsource/tcServer-6.0/zplus/conf/logging.properties -Djava.util.logging.manager=com.springsource.tcserver.serviceability.logging.TcServerLogManager -Xmx2048m -Xms2048m -Djava.rmi.server.hostname=300714-web8.echovox.com -XgcPrio:pausetime -DTERRACOTTA_URL=338449-web10.echovox.com:9510,338450-web11.echovox.com:9510 -Dapp_version= -Xmanagement -Dcom.sun.management.jmxremote.port=7091 -Dcom.sun.management.jmxremote.authenticate=false -Dcom.sun.management.jmxremote.ssl=false -Dehcache.monitor.enabled=True -Djava.endorsed.dirs=/usr/local/springsource/tcServer-6.0/tomcat-6.0.20.A/endorsed -Dcatalina.base=/usr/local/springsource/tcServer-6.0/zplus -Dcatalina.home=/usr/local/springsource/tcServer-6.0/tomcat-6.0.20.A -Djava.io.tmpdir=/usr/local/springsource/tcServer-6.0/zplus/temp -Dsun.java.launcher=SUN_STANDARD org.apache.catalina.startup.Bootstrap start
java.home : /usr/local/jrmc-3.1.2-1.6.0/jre
j.class.path : :/usr/local/springsource/tcServer-6.0/tomcat-6.0.20.A/bin/bootstrap.jar
j.lib.path : /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/jrockit:/usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386:/usr/local/jrmc-3.1.2-1.6.0/jre/../lib/i386
JAVA_HOME : <not set>
JAVAOPTIONS: <not set>
LD_LIBRARY_PATH: /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/jrockit:/usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386:/usr/local/jrmc-3.1.2-1.6.0/jre/../lib/i386
LD_PRELOAD : <not set>
LD_ASSUME_KERNEL: <not set>
StackOverFlow: 0 StackOverFlowErrors have occured
OutOfMemory : 0 OutOfMemoryErrors have occured
C Heap : 1 memory allocations have failed
: First failure was a mmMalloc of 20 bytes
: Last failure was a mmMalloc of 20 bytes
GC Strategy : Mode: pausetime. Currently using strategy: genconpar
GC Status : OC is not running. Last finished OC was OC#1945.
: YC is not running. Last finished YC was YC#90824.
OC History : Strategy genconpar was used for OC#1745 to OC#1755.
: Strategy genparpar was used for OC#1756 to OC#1757.
: Strategy genconpar was used for OC#1758 to OC#1938.
: Strategy genparpar was used for OC#1939 to OC#1940.
: Strategy genconpar was used for OC#1941 to OC#1945.
YC History : Ran 1 YCs before OC#1941.
: Ran 6 YCs before OC#1942.
: Ran 4 YCs before OC#1943.
: Ran 6 YCs before OC#1944.
: Ran 4 YCs before OC#1945.
: Ran 5 YCs since last OC.
YC Promotion : Last YC successfully promoted all objects
Heap : 0x8100000 - 0x88100000 (Size: 2048 MB)
Compaction : 0x64100000 - 0x68100020 (Current compaction type: internal)
NurseryList : 0x8214640 - 0x84438f20
KeepArea : (no keeparea in use)
NurseryMarker: [ 0x827bfd10, 0x83996a00 ]
CompRefs : References are 32-bit.
Registers (from ThreadContext: 0x2a96c20 / OS context: 0x2a96d1c):
eax = 00001267 ecx = 00000000 edx = 00000042 ebx = b7eb0de4
esp = 02a97010 ebp = 02a97028 esi = 00000044 edi = 02a97078
es = 0000007b cs = 00000073 ss = 0000007b ds = 0000007b
fs = 00000000 gs = 00000033
eip = b7cfca45 eflags = 00010206
Loaded modules:
(* denotes the module causing the exception)
08048000-08058233 /usr/local/jrmc-3.1.2-1.6.0/jre/bin/java
b7f44000-b7f4462b /usr/local/jrmc-3.1.2-1.6.0/jre/bin/java
00754000-00768f17 /lib/libpthread.so.0
006b2000-006d8a23 /lib/libm.so.6
006ab000-006ad0fb /lib/libdl.so.2
00550000-006a2723 /lib/libc.so.6
00531000-0054b4f7 /lib/ld-linux.so.2
b7c66000-b7ebfea7 */usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/jrockit/libjvm.so
007a3000-007a9ebf /lib/librt.so.1
b724f000-b725839b /lib/libnss_files.so.2
b7138000-b71429bb /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libverify.so
b7113000-b7135f57 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libjava.so
007ae000-007c27a7 /lib/libnsl.so.1
b725e000-b7263ef0 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/native_threads/libhpi.so
b5972000-b59803e4 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libzip.so
b5803000-b5808666 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libmanagement.so
b51a8000-b51baa18 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libnet.so
b725c000-b725c6ad /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/librmi.so
b2dae000-b2db1c2f /lib/libnss_dns.so.2
b2d9a000-b2da974b /lib/libresolv.so.2
b47ae000-b47b43a4 /usr/local/jrmc-3.1.2-1.6.0/jre/lib/i386/libnio.so
b1ec7000-b1eef857 /usr/local/springsource/tcServer-6.0/zplus/temp/tmpSigarJars551489478996731294326116727652638760/libsigar-x86-linux-1.6.4.so
Stack:
(* marks the word pointed to by the stack pointer)
02a97010: b7ec5040* 00000200 b7eb0de4 02a97078 02a97078 02a97034
02a97028: 02a97048 b7e78894 00000044 b7eb0de4 02a97078 00000001
02a97040: 02a970d0 02a97110 02a97068 b7e788bf 00000044 b7eb0de4
02a97058: 02a97078 b666692a 00000001 02a970d0 02a97088 b7e2147a
Code:
(* marks the word pointed to by the instruction pointer)
b7cfca14: 4c892074 458b0824 2404c710 b7ec5040 0c244489 000200b8
b7cfca2c: 24448900 b5dae804 01b80017 a3000000 b7ec5024 001267b8
b7cfca44: 0000a300* 04c70000 00003f24 bdcae800 768d0017 27bc8d00
b7cfca5c: 00000000 e589fc55 53c03157 b9e87d8d 00000004 00c0ec81
"tomcat-http--119" id=24059 idx=0x60c tid=8771 lastJavaFrame=0xfffffffc
Stack 0: start=0x2a74000, end=0x2a98000, guards=0x2a79000 (ok), forbidden=0x2a77000
Thread Stack Trace:
at dumpForceDump+117()@0xb7cfca45
at vmFatalErrorMsgV+84()@0xb7e78894
at vmFatalErrorMsg+31()@0xb7e788bf
at fatalError+42()@0xb7e2147a
at refIterInit+111()@0xb7e215bf
at trProcessLocksForThread+41()@0xb7e300f9
at get_all_locks+106()@0xb7d476ca
at javaLockConvertLazyToThin+99()@0xb7d477b3
at javaLockUnmatchedLock+802()@0xb7d488f2
at jniMonitorEnter+48()@0xb7d66cf0
at vmtiDetachFromThreadObject+85()@0xb7d9ec85
at tsiThreadStub+147()@0xb7d9f0f3
at ptiThreadStub+18()@0xb7e0e1d2
at start_thread+226()@0x759832
at __clone+94()@0x62245e
-- Java stack --From the command-line (-Dehcache.monitor.enabled=True) you are using some form of caching.
The out-of-memory occured as the JVM was unable the allocate an object: C Heap : 1 memory allocations have failed
Could you check how the live data set is going (or the memory leak detector)
Some concerns with regard to tune a JVM that runs a cache can be found here: http://middlewaremagic.com/weblogic/?p=7083
Note that the example given discusses Coherence, but can be adopted for another caching mechanism as well. -
I saved a document. Copied the document. Went to delete some extra characters and accidentally deleted the text of the entire document. I did not save a blank page. I cannot recover the lost text. Please Help. I'm NEW to Pages.
Hi Jan,
Copied text (or other copied material) is on the Clipboard, but only until you copy something else or log out of your account. If you act before doing another copy, you can paste the copied material back into the document. If you don't act right away, you may still have a path back.
One of the most useful keystroke combinations on the Mac is the "Oops! key," as a friend of mine once named it. That's command-Z, also known as "Undo". In some applications it will let you undo only a single step, but in others, including Pages, you can do repeated undos, so it's not quite so essential that you act immediately on making an error. Undo, done via the Oops! key, or via the Edit menu takes you back one change at a time. You can't skip any steps, so to get back to the state before the accidental deletion, you'll have to undo any work you've done since then. The memory of what to Undo disappears when you close the document or quit the application.
At that point you're at the mercy of your backup plan. If you've had Time Machine running, you'll be able to enter Time Machine and go back to an earlier, saved version of the file.
All these are in addition to the steps Ian suggested above.
Regards,
Barry
PS: Best piece of advice I can give a new Pages user (beyond Backup early and often) is to download and read through the first few chapters of the Pages '09 User Guide, available through the Help menu in Pages '09. Mostly pretty easy reading, and will get you through the basics without much trouble.
B -
Free Memory - Saving work quickly!
Hi!
I'm currently using the ram hungry quantum leap symphonic orchestra with 2.5Gb of ram. I usually work upto my limit in reguards to ram and this poses the problem of frequently saving my work.
e.g. If I've only made a few midi changes within a song and I need to save the changes; it takes about 3-5mins (depending on the instruments) to load all the instruments up again due to the 'free memory' proccess reconfiguring the ram.
I understand that it's neccessary to free up memory when working with high powered sampled intruments, however, it does seem pointless to wait such a long time if you just want to save a few midi changes.
I've tried to changing the setting for 'empty trash after saving song' (preferences/global/song handling/) but to no avail.
Any ideas?
Thanx...
G5 2.7Ghz DP 2.5Gb RAM Mac OS X (10.4.4) Focusrite Saffire, Logic Pro 71: save your song again as project and choose move for all the questions they ask you
Here are a bunch of tips for getting the most out of your EXS24
FOR SMALLER CPU (G4) WITH MORE RAMS (2-4GB) try this:
Open EXS24, go to options>virtual memory
for Disk Drive Speed select "Slow"
for Hard Disk Rec. Activity select "Extensive"
Then Apply
Doing this will release pressure from the hard disk and the CPU when you are loading samples.
It also release pressure from the HD/CPU when you are recording EXS24 or playing back sounds through EXS24.
FOR BIGGER CPU (G5) WITH LESS RAMS (1-2GB)
Open EXS24, go to options>virtual memory
for Disk Drive Speed select "Fast"
for Hard Disk Rec. Activity select "Less"
Then Apply
Doing this will release pressure from the RAMS when you are loading samples.
It also release pressure from the RAMS when you are recording EXS24 or playing back sounds through EXS24.
stash
G5 dp 2.5 3GB RAMS + G5 dp 1.8 1GB RAMS ( Internal/External HD 980GB ) Mac OS X (10.4.4) 2xDelta 1010LT / Edirol UR-80 / Mia Echo -
Help required Memory Upgrade on MS-6178
I have a 3 year old Tiny PC with a Intel 600 and running 128 Mb of memory (double sided) at 100Mhz. The motherboard is MS-6178.
I recently purchased 128Mb (single sided) of additional memory to upgrade to 256Mb. The problem I have is that the new memory only reads as 64Mb therefore, showing only 192Mb instead of 256Mb
I have tried branded and unbranded memory and it is still shows 192Mb.
Is there any way round this. anyone's help would be very much appreciated. ;(find an older ram thats double sidded like first
common problem with older pc ,they cannot cope with newer denser ram -
Need help with memory upgrade on Satellite A100-250
Help me with upgrade memory on TOSHIBA Satellite A100-250 up to 1024 mb.
I want to buy another slat of memory ddr2-533 512 mb, what exactly model am I necessary to search, that they worked in a pair.
Sorry for bad english. From Russia with Love.
PS. I like drink russian vodka :)Hay
Your notebook can be upgraded up to 2 GB and compatible RAM is DDR2-400/533 1GB (PA3411U-1M1G).
Use this part number in Google and you will find it.
Bye and dont drink too much Vodka. ;) -
Need Help on Recovering Saved Data in a PDF File
Hi,
It took me several days to fill up an important immigration document in pdf format. During the time, I was able to save it and open it again with the data in the form fields.
The motherboard of the laptop was fried the other day. All the files on the harddrive are safe. I got a usb hd enclore and copy the files off the harddrive.
However, when I open the pdf file, the data fields are now all empty. What to do to recover the saved data fields? Is that possible?
Thank you very much!Hi~
Don't be worry, I think to use some tools to recover your pdf file will be help.
I used a tool last month, and it recovered the pages as well as images in one pdf file of mine.
Follow this steps, it is very easy to repair: http://www.datanumen.com/apdfr/recovery.htm
You can have a try, good luck!
Julie -
Dearest Ones in the Apple Tech World,
I need to free up space in my storage, and I can do that if I can figure out how to delete my saved text messages. Anyone out there know how in the world I can accomplish this?
I have tried to delete them one by one, but it still says that I have 2.3 GB of saved messages!
I am not the saviest when it comes to operating this phone. Any help would be appreciated!
THANKS SO MUCH!There's no way to delete all message threads at one go. You can however do one contact thread at a time.
In Messages app where you see a list of messages from different contacts, tap Edit (top left), tap the red (on the left), then tap the red Delete button on the right. -
10.4.11 - help upgrading memory
Hello!
I have a 2006 imac (I believe it is considered early, but I purchased it in May 2006). I've always had one memory slot empty and 1GB of memory in the other. This past May my hard drive crashed and I replaced it, and now I'm starting to notice that it has been running slowly, especially when using iphoto, and so I would like to add 1GB of memory to the empty slot. I tried purchasing memory from the apple store, but they no longer have memory for my model and I'm not really sure how to find the correct memory for my computer. Here is the overview:
Model Name: iMac
Model Identifier: iMac4,1
Processor Name: Intel Core Duo
Processor Speed: 1.83 GHz
Number Of Processors: 1
Total Number Of Cores: 2
L2 Cache (per processor): 2 MB
Memory: 1 GB
Bus Speed: 667 MHz
Boot ROM Version: IM41.0055.B08
SMC Version: 1.1f5
Serial Number: QP61609WV4M
Could someone please tell me what memory I need and where I can find it? Any help will be greatly appreciated!!
Also - I'm interested in upgrading my OS to leopard or snow leopard - with the 2GB of memory will it run well on my computer? My hard drive is 350 GB and I'm only using 80 GB. If so, can I just purchase the $29 disc or do I have to purchase the $169 pack?
Thank you!any experience with that site?
Limited experience with them, & likely their IntelMac RAM is OK.
The guy at the store told me it is closest in quality to memory directly from Apple.
Of the RAM I've had go bad, all but one stick was original Apple RAM, to be fair when they come out with new models they're generally using the newest/latest/fastest at that point, & manufacturing may not have production down pat until later.
will anything on my computer be wiped out, or is it an easy install?
No, SL defaults to what we used to call Archive & Install, which preserves all your stuff, just new OS & new of some Apple Apps.
Just be sure to Open Disk Utility & Verify the Drive first, (not Verify Permissions).
I'm debating on whether to upgrade it or not because I love tiger, I'm just frustrated that I cannot buy a new ipod, an ipad, Adobe CS5 or the magic mouse because none of those things will run on Tiger.
Yep, if you need any of those things, SL is a must then, but I prefer Tiger myself & have no need of any of those.
Maybe you are looking for
-
TS2972 Why don't all the movies in iTunes library show up on Apple TV?
I have five movies that I purchase from the iTunes Store in my iTunes library. They all show up on Apple TV except for "Fantastic Mr. Fox" which does not. Any guesses why not?
-
Follow up action to set delete flag after UD (QS41, QS51)
Hi all, If user give UD as 'not good' for Equipment (eg Vernier Caliper) then he has to set delete flag for maintenance plan no and Equipment no through IP02 and IE02 respectively now he want that, above delete flag should set automatically after giv
-
Hi, Can we use arrays in our XSLT mapping? if yes, please let me know with a example Best Regards Deepika
-
I got locked out from my iPad mini during my initial setup. Keep ask me for passcode but I haven't setup one. Reboot and restart didn't solve the problem, tried connect to iTunes but it won't let me because it requires the passcode. Tried my Excha
-
Movement in lid causes power off
Hey Guys Got a strage one here. Sometimes when the lid is moved a little it causes the screen to go black and I assume power off. When I close the lid fully and then open nothing happens, and when pressing power button nothing happens either. After a