JNI memory/thread issue
Guys,
Here's the problem I'ce seen with JNI and using the JVM in C++.
I create AWT frames through a call to the constructor and access the window thro' call to the object.
before a call to DeleteGlobalRef, I call a Java method from C++ that calls dispose on the Frame.
I noticed that with time a lot of threads are not terminated and after a couple of creations and disposing of frames, the VM crashes.
Any thoughts....
Thanks.
You have a problem in your code.
If when you say "few" it means like 3-100, then the most likely explaination is you have buffer problem (over/under writing a buffer.) A problem like that does not cause problems until latter, sometimes much later, in the code.
Similar Messages
-
PGA memory Leak issue along with TNS: listener could not hand off client connection
Hi,
We have two Oracle Database instances in a 32 bit Standard Edition Windows OS machine with 3 GB RAM : 1) 1525 MB (SGA+PGA) 2) 515 MB (SGA+PGA)
Recently we upgraded the RAM from 3 GB to 4 GB. Subsequently we upgraded the SGA + PGA of the 2nd instance to 771 MB.
This has resulted into PGA memory leak issue reported in the alert log file and trace file.
Reverting back the SGA+PGA size to 515 MB solved the issue.
Is this issue related to Address Windowing Extension (AWE)?
Is the reason related to Total memory for all the cumulative Oracle instance should be < 2GB.
How to solve this?
Mon Jul 15 08:21:25 2013
ORACLE V10.2.0.4.0 - Production vsnsta=0
vsnsql=14 vsnxtr=3
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
Windows Server 2003 Version V5.2 Service Pack 2
CPU : 4 - type 586, 4 Physical Cores
Process Affinity : 0x00000000
Memory (Avail/Total): Ph:1068M/4023M, Ph+PgF:4985M/7933M, VA:18M/2047M
Instance name: dp3
Redo thread mounted by this instance: 0 <none>
Oracle process number: 0
Windows thread id: 4484, image: ORACLE.EXE (SHAD)
*** 2013-07-15 08:21:25.133
*** ACTION NAME:() 2013-07-15 08:21:25.133
*** MODULE NAME:() 2013-07-15 08:21:25.133
*** SERVICE NAME:() 2013-07-15 08:21:25.133
*** SESSION ID:(90.829) 2013-07-15 08:21:25.133
******** ERROR: PGA memory leak detected 6302928 > 30176 ********
HEAP DUMP heap name="pga heap" desc=6C98A800
extent sz=0x206c alt=92 het=32767 rec=0 flg=3 opc=3
parent=00000000 owner=00000000 nex=00000000 xsz=0x0
EXTENT 0 addr=7FC10008
Chunk 7fc10010 sz= 64996 free " "
Chunk 7fc1fdf4 sz= 2097676 freeable "krfrbAllocate: "
Dump of memory from 0x7FC1FDF4 to 0x7FE20000
7FC1FDF0 1020020D 7FC10010 03871E90 [.. .........]
7FC1FE00 00000000 00000000 00000000 00000000 [................]
Repeat 131103 times
EXTENT 1 addr=7FA00008
Chunk 7fa00010 sz= 64996 free " "
Chunk 7fa0fdf4 sz= 2097676 freeable "krfrbAllocate: "
Dump of memory from 0x7FA0FDF4 to 0x7FC10000
7FA0FDF0 1020020D 7FA00010 03871E90 [.. .........]
7FA0FE00 00000000 00000000 00000000 00000000 [................]
Repeat 131103 times
EXTENT 2 addr=7F7F0008
Chunk 7f7f0010 sz= 64996 free " "
Chunk 7f7ffdf4 sz= 2097676 freeable "krfrbAllocate: "
Dump of memory from 0x7F7FFDF4 to 0x7FA00000
7F7FFDF0 1020020D 7F7F0010 03871E90 [.. .........]
7F7FFE00 00000000 00000000 00000000 00000000 [................]
Repeat 131103 times
EXTENT 3 addr=70A50008There may be something fixed in the patch that gives the error rather than mysterious hangs. I would prefer that, myself. There may be something in the patch that changes how Oracle allocates user, system and program areas.
At some point you spend more trying to limp things along in a growing environment than simply upgrading. 32 bit environments these days is an indicator that management is figuring some false economies. But that's their prerogative.
The PGA can be affected by many things, not least of which is how the application uses it. Much has been written about it, my own experience has been more is used than most people say. But that is probably just my app. Note there are different ways to set it, and a parameter with "target" in it might not be a hard limit. Different execution plans for the same code may use different amounts of memory - there can even be situations where forcing some code to use a sort area instead, or even forcing more operations to disk, can free up more pga for everyone else. It depends. But that's why I look at multi-pass operations in dbconsole. -
Hello. I am having an issue with Flash 9 and wasnt sure if
this needed to be posted in here or general. I figured that I would
need some kind of code to fix this so I posted it in here.
This is my issue..the typical dreaded memory leak problem.
The project looks very similar to this:
We have, say, 100 individual images in the library. Each
image is an 800x600 jpg file. We create a layer and put each image
on a frame. About every so many frames, (lets say frame 33 or frame
66) we stop at that point and ask a question and wait for some kind
of response from the user. If its the correct response, we continue
on, if not, we just repeat the question till they get the answer
correctly. There are also fscommands that send out to an external
application if the user clicked the correct or incorrect answer at
these points.
However, this is causing a rather massive memory leak. I was
wondering if there is a solution either by code or we are just
doing something wrong, to help fix our memory leak issue. Some
files in our projects are small enough to not notice it but we have
one particular file that is around 500 frames of animation and you
can imagine how hungry flash got with this one.
Any suggestions?Lots of ideas:
First thing? Check the File Free at Options > Status, what is the number at File Free? Now, remove the battery of your device, hold a minute, replace and reboot. What is the File Free now?
Read this: http://www.blackberryforums.com/general-blackberry-discussion/116396-managing-your-bb-memory-lost-ca...
And this: http://www.blackberryforums.com/general-blackberry-discussion/112029-losing-call-logs-sms-emails-opt...
Additional links to read:
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB15345&sliceId=SAL_Pub...
http://www.blackberry.com/btsc/search.do?cmd=displayKC&docType=kc&externalId=KB14320&sliceId=SAL_Pub...
http://www.blackberry.com/btsc/dynamickc.do?externalId=KB14213&sliceId=SAL_Public&command=show&forwa...
1. If any post helps you please click the below the post(s) that helped you.
2. Please resolve your thread by marking the post "Solution?" which solved it for you!
3. Install free BlackBerry Protect today for backups of contacts and data.
4. Guide to Unlocking your BlackBerry & Unlock Codes
Join our BBM Channels (Beta)
BlackBerry Support Forums Channel
PIN: C0001B7B4 Display/Scan Bar Code
Knowledge Base Updates
PIN: C0005A9AA Display/Scan Bar Code -
PROXY.NLM Abend & Memory Leak issues
Issue:
1. BM39SP2 abends frequently
2. Memory Leak issue.
3. During the restart, it has Short Term memory issues
Environment:
Netware 6.5 SP6
BorderManager 3.9 SP2 (with latest proxy.nlm)
Server has 4 GB memory
Additional Info: The server is patched with the latest TCP & Winsock patch for SP6.
Latest Abend information
Novell Netware, V6.5 Support Pack 6 - Internal Release
PVER: 6.50.06
Server BMMH01 halted Tuesday, 23 March 2010 10:57:37.119 am
Abend 1 on P00: Server-5.70.06: Page Fault Processor Exception (Error code 00000000)
Registers:
CS = 0060 DS = 007B ES = 007B FS = 007B GS = 007B SS = 0068
EAX = 1B8A5FFA EBX = 222E40A8 ECX = FFFFB5F6 EDX = 1B8A440A
ESI = 1B8A4EB2 EDI = FFFFC73E EBP = 1B8A15E4 ESP = 8AE58E14
EIP = 1195093C FLAGS = 00010012
1195093C 385006 CMP [EAX+06]=?, DL
EIP in PROXY.NLM at code start +000CC93Ch
Access Location: 0x1B8A6000
The violation occurred while processing the following instruction:
1195093C 385006 CMP [EAX+06], DL
1195093F 744C JZ 1195098D
11950941 385007 CMP [EAX+07], DL
11950944 7451 JZ 11950997
11950946 83E908 SUB ECX, 00000008
11950949 0508000000 ADD EAX, 00000008
1195094E 83F908 CMP ECX, 00000008
11950951 73CC JNB 1195091F
11950953 0BC9 OR ECX, ECX
11950955 7408 JZ 1195095F
Running process: Server 11 Process
Thread Owned by NLM: SERVER.NLM
Stack pointer: 8AE58F60
OS Stack limit: 8AE51020
Scheduling priority: 67371008
Wait state: 50500F0 Waiting for work
Stack: 118CD415 (PROXY.NLM|PLD_ParseHTTPHeaders+435)
--1B8A4EB2 ?
--FFFFC73E ?
--00000001 (LOADER.NLM|KernelAddressSpace+1)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--00000A6A (LOADER.NLM|KernelAddressSpace+A6A)
--1327FA48 ?
--0000000C (LOADER.NLM|KernelAddressSpace+C)
--1B8A15E4 ?
--222E40A8 ?
1191031B (PROXY.NLM|SSLLoginWithFormDataCallback+36B)
--00000001 (LOADER.NLM|KernelAddressSpace+1)
--222E40A8 ?
--1B8A15E4 ?
--0000000C (LOADER.NLM|KernelAddressSpace+C)
--8AE58E78 ?
--8AE58EE4 ?
1191DF79 (PROXY.NLM|tsw_ssl3_ReadRecord+239)
--98994F6E ?
--1560BD04 ?
--1B8A15F0 ?
1191DFD4 (PROXY.NLM|tsw_ssl3_ReadRecord+294)
--1B8A15F0 ?
--8AE58E78 ?
--00000014 (LOADER.NLM|KernelAddressSpace+14)
--0000000C (LOADER.NLM|KernelAddressSpace+C)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--3935A2FF ?
--097478C7 ?
--A1C483D4 ?
--00000008 (LOADER.NLM|KernelAddressSpace+8)
--00000014 (LOADER.NLM|KernelAddressSpace+14)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--00000001 (LOADER.NLM|KernelAddressSpace+1)
--1B8A15F0 ?
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--00000028 (LOADER.NLM|KernelAddressSpace+28)
--222E40A8 ?
--00000028 (LOADER.NLM|KernelAddressSpace+28)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--0000000C (LOADER.NLM|KernelAddressSpace+C)
--1327FA48 ?
--222E40A8 ?
11910D85 (PROXY.NLM|SSLRedirectDataCallback+235)
--222E40A8 ?
--00000028 (LOADER.NLM|KernelAddressSpace+28)
--8AE58EE4 ?
--00000003 (LOADER.NLM|KernelAddressSpace+3)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--898E039B ?
--00000001 (LOADER.NLM|KernelAddressSpace+1)
--00000028 (LOADER.NLM|KernelAddressSpace+28)
--0000000C (LOADER.NLM|KernelAddressSpace+C)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--222E40A8 ?
--00000017 (LOADER.NLM|KernelAddressSpace+17)
--00000001 (LOADER.NLM|KernelAddressSpace+1)
--1B8A15E4 ?
--00004800 (LOADER.NLM|KernelAddressSpace+4800)
--222E40A8 ?
119078CD (PROXY.NLM|TSW_SSL_Read+2D)
--1560BD04 ?
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--1B8A15E4 ?
--1B8A15F0 ?
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--0000000C (LOADER.NLM|KernelAddressSpace+C)
--0000000C (LOADER.NLM|KernelAddressSpace+C)
--1B8A15E4 ?
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--222E40A8 ?
1190EF88 (PROXY.NLM|SSL_V3_ServerDataReplyHandler+158)
--222E40A8 ?
-1197D604 (PROXY.NLM|rsSSL_V3_ServerWaitingForRequest+0)
--1560BD04 ?
--222E40A8 ?
--0347E701 ?
--0F78E700 ?
118E9400 (PROXY.NLM|CallrsCallBacks+0)
118E9454 (PROXY.NLM|CallrsCallBacks+54)
--222E40A8 ?
00362862 (SERVER.NLM|StartWorkToDo+23)
--222E40A8 ?
--0347E701 ?
--0F78E700 ?
--8AE18E30 ?
--00000000 (LOADER.NLM|KernelAddressSpace+0)
0021459A (SERVER.NLM|WorkerThread+4F6)
--222E40A8 ?
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--8ADA5400 ?
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--8ADA5400 ?
00221528 (SERVER.NLM|TcoNewSystemThreadEntryPoint+40)
--8ADA5400 ?
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
--00000000 (LOADER.NLM|KernelAddressSpace+0)
Additional Information:
The CPU encountered a problem executing code in PROXY.NLM. The problem may be in that module or in data passed to that module by a process owned by SERVER.NLM.
Kindly suggest.In article <[email protected]>, Dkeyur wrote:
> Netware 6.5 SP6
> BorderManager 3.9 SP2 (with latest proxy.nlm)
> Server has 4 GB memory
>
> Additional Info: The server is patched with the latest TCP & Winsock
>
Is the above correct? If so, you are not even close to having the
latest patches. (NW65SP8, not SP6). Adding late tcp and winsock
patched to SP6 would probably cause problems.
If you look over the abend messages, and some of them refer to an LSL
component, it's very likely you need the wsock6o patch. (Check tip #1
at the URL below).
If you just typo'd the patch, and you are at sp8, at least try clearing
the cache. Unload proxy, load proxy -cc.
Craig Johnson
Novell Knowledge Partner
*** For a current patch list, tips, handy files and books on
BorderManager, go to http://www.craigjconsulting.com *** -
Memory leak issue on Blackberry Torch 9860
I own a Blackberry Torch 9860 Os 7.0 Bundle 1465 for the last 5 months
Previously I had Blackberry Curve 9300 which I had upgraded to OS 6.0. It had memory leak issues wherein my application memory would gradually dropdown to merely KBs within a few days and I had to reboot it to restore the same.
When I purchased Torch 9860, I migrated my device settings from Curve to Torch using the Desktop Manager. I face the same memory leak issues in this new device as well. I have 3 email accounts configured on my device and some social networking applications which include facebook, twitter, and some messengers. I usually delete my emails and keep only a few useful mails for reference. Still I am facing this issue wherein I have to reboot my device to restore the application memory. It starts from 152 Mb and usually dropsdown to merely Kilobytes of memory. The phone freezes for around 1-2 minutes sometimes when I am on call, or accessing my contacts.
Also to let you know that I have a 8GB memory card on my phone which has around 1.6 GB free space. I have disabled Compression on my memory card as well.
Please advise as I am having a hard time using this time this way.
Regards,
Abhinav Sharma
Thanks and regards,
Abhinav SharmaI have the almost same problem when i run the phone gap app on the 9800 torch OS 6 than this build of 1.2 MB takes the memory of 40 MB at run time and the device gives the low memory message and close the app forcefully.
In my app phone gap is using 3-4 html pages and java script .
And when i navigate on these pages it gives this message of memory low.
Please help me to out of this .
And please suggest if any professional help in this
Thanks\\\
Vipin Tomer -
Memory leak issue with link server between SQL Server 2012 and Oracle
Hi,
We are trying to use the linked server feature with SQL Server 2012 to connect SQL server and Oracle database. We are concerned about the existing memory leak issue. For more context please refer to the link.
http://blogs.msdn.com/b/psssql/archive/2009/09/22/if-you-use-linked-server-queries-you-need-to-read-this.aspx
The above link talks about the issues with SQL Server versions 2005 and 2008, not sure if this is still the case in 2012. I could not find any article that talks about if this issue was fixed by Microsoft in later version.
We know that SQL Server process crashes because of the third-party linked server provider which is loaded inside SQL Server process. If the third-party linked server provider is enabled together with the
Allow inprocess option, the SQL Server process crashes when this third-party linked server experiences internal problems.
We wanted to know if this fixed in SQL Server 2012 ?So your question is more of a information type or are you really facing OOM issue.
There can be two things for OOM
1. There is bug in SQL Server which is causing the issue which might be fixed in 2012
2. The Linked server provider used to connect to Oracle is not upto date and some patch is missing or more recent version is to be used. Did you made sure that you are using latest version.
What is Oracle version you are trying to connect(9i,10g, R2...)
Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
My Technet Wiki Article
MVP -
Process memory leak issue solaris 10
I have a process which has a memory leak issue. I ran this process on solaris 9 as well as solaris 10. When i run prstat command i get a different output for two. Funny thing is that memory leak noted in solaris 10 is much more than that in solaris 9 e.g if it is 1 MB in solaris 9 then its 4 MB in solaris 10.
What can be possibly causing this ? Is this related to kernel implementation on diff solaris ?I have a process which has a memory leak issue. I ran this process on solaris 9 as well as solaris 10. When i run prstat command i get a different output for two. Funny thing is that memory leak noted in solaris 10 is much more than that in solaris 9 e.g if it is 1 MB in solaris 9 then its 4 MB in solaris 10.
What can be possibly causing this ? Is this related to kernel implementation on diff solaris ? -
Thread issue in jsp.....
I understand that the j2ee container (tomcat or jrun...) creates ONE instance of the jsp page (i.e. compiled into servlet class) when the jsp page (let's say, myPage.jsp) is accessed the first time. All request for this jsp page will be done through thread.
My questions are:
1. If I instantiate an object (say, myObject) within the scriptlet, will the container create one instance of this object for each "jsp" thread? Or will there be only one instance of the myObject object and each "jsp" thread be running on a thread of myObject?!
2. If I use javaBean in my jsp (i.e. use the <jsp:useBean..../> tag), I know that the container will create a new instance of the bean class. So if there are multiple request on the same jsp page, is it true that many instances of the bean will be created? And there will be no thread issue involed?!!
Thanks!!When you create an instance of an object inside a scriplet using <% ... %>, that instance is local to the service) method of the servlet corresponding to the JSP. So there is no threading related issue.
Smilar is the argument why there is not threading related issue with using <jsp:useBean> -
What is the best way to deal with memory leak issue in sql server 2008 R2
What is the best way to deal with memory leak issue in sql server 2008 R2.
What is the best way to deal with memory leak issue in sql server 2008 R2.
I have heard of memory leak in OS that too because of some external application or rouge drivers SQL server 2008 R2 if patched to latest SP and CU ( may be if required) does not leaks memory.
Are you in opinion that since SQL is taking lot of memory and then not releasing it is a memory leak.If so this is not a memory leak but default behavior .You need to set proper value for max server memory in sp_configure to limit buffer pool usage.However
sql can take more memory from outside buffer pool if linked server ,CLR,extended stored procs XML are heavily utilized
Any specific issue you are facing
Please mark this reply as the answer or vote as helpful, as appropriate, to make it useful for other readers -
We encountered the following locked thread issue. Refer to the thread dump logs.
Any idea on the root cause of the issue? It seens to us that it is the weblogic app server codes that are causing the locked threads.
Will appreciate any advise.
"ExecuteThread: '0' for queue: 'weblogic.socket.Muxer'" id=22 idx=0x50 tid=329 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: java/lang/String@0x9a73910[fat lock]
at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1674)[optimized]
at jrockit/vm/Locks.lockFat(Locks.java:1775)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1311)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:1258)[optimized]
at jrockit/vm/Locks.monitorEnter(Locks.java:2455)[optimized]
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of trace
"ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" id=24 idx=0x58 tid=331 prio=5 alive, in native, blocked, daemon
-- Blocked trying to get lock: java/lang/String@0x9a73910[fat lock]
at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1674)[optimized]
at jrockit/vm/Locks.lockFat(Locks.java:1775)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1311)[optimized]
at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:1258)[optimized]
at jrockit/vm/Locks.monitorEnter(Locks.java:2455)[optimized]
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of trace
"ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" id=23 idx=0x54 tid=330 prio=5 alive, in native, daemon
at jrockit/ext/epoll/EPoll.epollWait0(IIII)I(Native Method)
at jrockit/ext/epoll/EPoll.epollWait(EPoll.java:103)
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:156)
^-- Holding lock: java/lang/String@0x9a73910[fat lock]
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of traceThis is standard behavior for the socket muxer threads. Only one of the epoll muxer threads is actually holding the lock at any one time. Here is the output of part of my thread dump on Linux with WLS 10.3.4 on JRockit on startup. The server is not hung up at all. Make a request on the server and take another thread dump and you'll see the lock change.
1st dump with ExecuteThread 1 waiting to get the lock from ExecuteThread 2
"ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" id=25 idx=0x58 tid=26836 prio=5 alive, blocked, native_blocked, daemon
-- Blocked trying to get lock: java/lang/String@0xe82d6ec0[thin lock]
at jrockit/vm/Threads.sleep(I)V(Native Method)
at jrockit/vm/Locks.waitForThinRelease(Locks.java:955)
at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1083)
at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:1005)
at jrockit/vm/Locks.monitorEnter(Locks.java:2179)
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of trace
"ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" id=26 idx=0x5c tid=26837 prio=5 alive, in native, daemon
at jrockit/ext/epoll/EPoll.epollWait0(ILjava/nio/ByteBuffer;II)I(Native Method)
at jrockit/ext/epoll/EPoll.epollWait(EPoll.java:115)
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:156)
^-- Holding lock: java/lang/String@0xe82d6ec0[thin lock]
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of trace2nd dump after the server servers a request with ExecuteThread 2 waiting to get the lock from ExecuteThread 1
"ExecuteThread: '1' for queue: 'weblogic.socket.Muxer'" id=25 idx=0x58 tid=26836 prio=5 alive, in native, daemon
at jrockit/ext/epoll/EPoll.epollWait0(ILjava/nio/ByteBuffer;II)I(Native Method)
at jrockit/ext/epoll/EPoll.epollWait(EPoll.java:115)
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:156)
^-- Holding lock: java/lang/String@0xe82d6ec0[fat lock]
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of trace
"ExecuteThread: '2' for queue: 'weblogic.socket.Muxer'" id=26 idx=0x5c tid=26837 prio=5 alive, blocked, native_blocked, daemon
-- Blocked trying to get lock: java/lang/String@0xe82d6ec0[fat lock]
at jrockit/vm/Threads.waitForUnblockSignal()V(Native Method)
at jrockit/vm/Locks.fatLockBlockOrSpin(Locks.java:1411)
at jrockit/vm/Locks.lockFat(Locks.java:1512)
at jrockit/vm/Locks.monitorEnterSecondStageHard(Locks.java:1054)
at jrockit/vm/Locks.monitorEnterSecondStage(Locks.java:1005)
at jrockit/vm/Locks.monitorEnter(Locks.java:2179)
at weblogic/socket/EPollSocketMuxer.processSockets(EPollSocketMuxer.java:153)
at weblogic/socket/SocketReaderRequest.run(SocketReaderRequest.java:29)
at weblogic/socket/SocketReaderRequest.execute(SocketReaderRequest.java:42)
at weblogic/kernel/ExecuteThread.execute(ExecuteThread.java:145)
at weblogic/kernel/ExecuteThread.run(ExecuteThread.java:117)
at jrockit/vm/RNI.c2java(IIIII)V(Native Method)
-- end of traceHere is a blog on this topic: http://jojovedder.blogspot.com/2009/05/weblogic-socket-muxers-are-not-stuck.html -
Memory Card Issue with my BlackBerry Curve 9300
Hello,
I have been using the memory card for more than a year. It's a SanDisk or a ScanDisk memory card. It's 8 GB. I didn't use the card that came with my BlackBerry Curve 9300 phone. I'm always trying to delete files or to copy files, most of them are music files from my laptop to the memory card via memory card reader.
Now I am encountering a message that I need to repair the memory card whenever I try to insert it to my phone again. And most of the time whenever the phone automatically repairs it, some files are corrupted or considered as a "lost chunk files".
How can I recover those files? And why did it happen or always happen in the first place?
According to this site, you need to reformat it: http://www.techtalkz.com/tips-n-tricks/1535-memory-card-corrupted-here-solution.html
So what I did is to copied everything to my laptop then reformatted it completely.
It kinda solved the issue but for how long will I won't be experiencing the "repair memory card" issue and the "lost chunk files" issue?
Do I need another program to reformat the memory card and not to use the one that comes with every windows computer?
Does using a memory card reader or using a memory card adapter (for the microSD card) corrupts the memory card?
I have been researching on how to completely recover the files but I'm a bit confused.
There are a lot of recovery programs out there.
Can you guys help me out here? Thanks.
Here are the researches that I made:
http://www.diydatarecovery.nl/chkmate.htm
http://forums.crackberry.com/blackberry-torch-9800-f209/torch-freezes-media-card-corrupted-627384/
http://www.berryreview.com/2009/01/08/tips-tricks-recover-files-from-a-corrupted-sd-or-microsd-card/
http://supportforums.blackberry.com/t5/BlackBerry-Torch/Media-card-corrupted/td-p/1181945
http://www.squidoo.com/recoverphotosblackberry
http://www.ehow.com/how_2129153_retrieve-pictures-corrupt-memory-card.html
http://panasonic.jp/support/global/cs/sd/download/index.html
http://www.datarecoverybook.com/drb/usb-drive.html
http://www.cgsecurity.org/wiki/TestDisk
http://www.memorycardrepair.org/memory-card-repair/downloads.htmlvikram82 wrote:
Tried a couple of things. Still my issue is not resolved
I think you should try each and everyone of the solutions suggested in the link I provided, given that it covered both harware and software suggestions. And always reset the device by removing the battery whilst the device is powered-on. Leave the battery out for a minute or 2 after each step.
See if that resolves the problem.
Blackberry Best Advice - Back-up weekly
If I have helped you please check the "Kudos" star on the right >>>> -
Is this a memory leak issue ?
We are using Jdev10g + BC4J + Struts + JSP to build our enterprise application,
but when the application running some days in our Application Server(RedHat AS3-86, with 4GB RAM), the memory consumed is serious ! we doubt and worry
about maybe our application suffer the memory leak problem, so we want to know have the command to find out whether our application caused the memory leak
issue and which program is the major murderer for memory.
In EM console , the memory utilization chart have big memory consumed in "other" legend ? the "other" legend is mean what ? I cannot find the consumer process in system level through ps command ? it seems disapear ! but after I reboot the server , the "other" legend is clear !The second scenario is, as we perform some deployment activity on 10g, the memory usage chart shows a sharp consumption of memory about 1.5GB .the loss memory almost be display in "other" legend chart !
Please give us some advice , thanks in advance -
Hi All,
I got stuck thread issues when deploying composites to Oracle SOA 11.1.1.5 running on Windows Server 2008 R2. Even the SimpleApproval composite which ships with the standard installation is having trouble deploying.
The composites are deploying fine in Oracle SOA 11.1.1.5 running on Windows XP.
I'm not so good with thread dumps, so I post it below for rescue.
Please advice,
Rommel
<Jul 18, 2011 10:15:25 AM AST> <Error> <WebLogicServer> <BEA-000337> <[STUCK] Ex
ecuteThread: '2' for queue: 'weblogic.kernel.Default (self-tuning)' has been bus
y for "605" seconds working on the request "weblogic.servlet.internal.ServletReq
uestImpl@32d047d4[
POST /soa-infra/deployer HTTP/1.1
Connection: TE
TE: trailers, deflate, gzip, compress
User-Agent: Oracle HTTPClient Version 10h
Accept-Encoding: gzip, x-gzip, compress, x-compress
ECID-Context:
Authorization: Basic bmFnaGl3ZWJsb2dpY3NvYTp3ZWJsb2dpY3NvYTEwIQ==
Content-type: application/octet-stream
Content-Length: 25876
]", which is more than the configured time (StuckThreadMaxTime) of "600" seconds
. Stack trace:
Thread-55 "[STUCK] ExecuteThread: '2' for queue: 'weblogic.kernel.Default (self-
tuning)'" <alive, in native, suspended, priority=1, DAEMON> {
jrockit.net.SocketNativeIO.readBytesPinned(SocketNativeIO.java:???)
jrockit.net.SocketNativeIO.socketRead(SocketNativeIO.java:24)
java.net.SocketInputStream.socketRead0(SocketInputStream.java:???)
java.net.SocketInputStream.read(SocketInputStream.java:107)
oracle.net.nt.MetricsEnabledInputStream.read(TcpNTAdapter.java:707)
oracle.net.ns.Packet.receive(Packet.java:243)
oracle.net.ns.DataPacket.receive(DataPacket.java:106)
oracle.net.ns.NetInputStream.getNextPacket(NetInputStream.java:309)
oracle.net.ns.NetInputStream.read(NetInputStream.java:254)
oracle.jdbc.driver.T4CSocketInputStreamWrapper.read(T4CSocketInputStreamWrap
per.java:93)
oracle.jdbc.driver.T4CMAREngine.getNBytes(T4CMAREngine.java:1573)
oracle.jdbc.driver.T4C8TTILobd.unmarshalLobData(T4C8TTILobd.java:360)
oracle.jdbc.driver.T4C8TTILob.readLOBD(T4C8TTILob.java:787)
oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:303)
oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:181)
oracle.jdbc.driver.T4C8TTILob.read(T4C8TTILob.java:139)
oracle.jdbc.driver.T4CConnection.getBytes(T4CConnection.java:2690)
^-- Holding lock: oracle.jdbc.driver.T4CConnection@32386377[thin lock]
oracle.sql.BLOB.getBytes(BLOB.java:557)
oracle.jdbc.driver.OracleBlobInputStream.needBytes(OracleBlobInputStream.jav
a:188)
oracle.jdbc.driver.OracleBufferedStream.readInternal(OracleBufferedStream.ja
va:171)
oracle.jdbc.driver.OracleBufferedStream.read(OracleBufferedStream.java:151)
^-- Holding lock: oracle.jdbc.driver.OracleBlobInputStream@341d0b87[thin loc
k]
java.io.BufferedInputStream.fill(BufferedInputStream.java:189)
java.io.BufferedInputStream.read(BufferedInputStream.java:236)
^-- Holding lock: oracle.mds.internal.persistence.db.DBInputStream@341d0bb2[
thin lock]
oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:363)
oracle.xml.parser.v2.XMLReader.pushXMLReader(XMLReader.java:230)
oracle.xml.parser.v2.XMLParser.parse(XMLParser.java:217)
oracle.fabric.common.wsdl.SchemaBuilder.parseXMLSrc(SchemaBuilder.java:1016)
oracle.fabric.common.wsdl.SchemaBuilder.parseXSDSrc(SchemaBuilder.java:984)
oracle.fabric.common.wsdl.SchemaBuilder.processSchemaImportsAndInclude(Schem
aBuilder.java:755)
oracle.fabric.common.wsdl.SchemaBuilder.loadEmbeddedSchemas(SchemaBuilder.ja
va:474)
oracle.fabric.common.wsdl.SchemaBuilder.loadSchemasFromWSDL(SchemaBuilder.ja
va:423)
oracle.fabric.common.wsdl.SchemaBuilder.loadAllSchemas(SchemaBuilder.java:21
4)
oracle.fabric.common.wsdl.SchemaManager.loadAllXSD(SchemaManager.java:209)
^-- Holding lock: oracle.fabric.common.wsdl.SchemaManager@36279195[thin lock
oracle.fabric.common.wsdl.SchemaManager.getXSDEntityResolver(SchemaManager.j
ava:424)
oracle.fabric.composite.model.CompositeModel.loadImports(CompositeModel.java
:361)
oracle.fabric.composite.model.CompositeModel.getWSDLManager(CompositeModel.j
ava:196)
oracle.integration.platform.blocks.adapter.AbstractAdapterBindingComponent.g
etWSDLDefinition(AbstractAdapterBindingComponent.java:168)
oracle.integration.platform.blocks.adapter.AdapterReference.loadDefinition(A
dapterReference.java:543)
oracle.integration.platform.blocks.adapter.AdapterReference.load(AdapterRefe
rence.java:377)
oracle.integration.platform.blocks.adapter.AdapterReference.load(AdapterRefe
rence.java:73)
oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.depl
oyReferences(CompositeDeploymentConnection.java:177)
oracle.integration.platform.blocks.deploy.CompositeDeploymentConnection.depl
oy(CompositeDeploymentConnection.java:81)
oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.ini
tDeployment(CompositeDeploymentManagerImpl.java:143)
oracle.integration.platform.blocks.deploy.CompositeDeploymentManagerImpl.loa
d(CompositeDeploymentManagerImpl.java:61)
sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:?
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:27
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl
.java:25)
java.lang.reflect.Method.invoke(Method.java:575)
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopU
tils.java:306)
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint
(ReflectiveMethodInvocation.java:182)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:148)
oracle.integration.platform.blocks.deploy.DeploymentEventPublisher.invoke(De
ploymentEventPublisher.java:57)
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(Reflect
iveMethodInvocation.java:148)
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopPro
xy.java:151)
$Proxy309.load(Unknown Source)
oracle.integration.platform.blocks.deploy.StandaloneCompositeDeploymentCoord
inatorImpl.coordinateCompositeDeployment(StandaloneCompositeDeploymentCoordinato
rImpl.java:54)
oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploy
NewComposite(BaseDeployProcessor.java:365)
oracle.integration.platform.blocks.deploy.servlet.BaseDeployProcessor.deploy
SARs(BaseDeployProcessor.java:123)
^-- Holding lock: java.lang.Object@3621c97c[thin lock]
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWo
rk(DeployProcessor.java:122)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeployWo
rk(DeployProcessor.java:107)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.doDeploy(D
eployProcessor.java:96)
oracle.integration.platform.blocks.deploy.servlet.DeployProcessor.process(De
ployProcessor.java:68)
oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.d
oPostInsideLoggingSession(CompositeDeployerServlet.java:141)
oracle.integration.platform.blocks.deploy.servlet.CompositeDeployerServlet.d
oPost(CompositeDeployerServlet.java:119)
javax.servlet.http.HttpServlet.service(HttpServlet.java:700)
javax.servlet.http.HttpServlet.service(HttpServlet.java:815)
weblogic.servlet.internal.StubSecurityHelper$ServletServiceAction.run(StubSe
curityHelper.java:224)
weblogic.servlet.internal.StubSecurityHelper.invokeServlet(StubSecurityHelpe
r.java:108)
weblogic.servlet.internal.ServletStubImpl.execute(ServletStubImpl.java:206)
weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:26)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java
:405)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.security.jps.ee.http.JpsAbsFilter$1.run(JpsAbsFilter.java:111)
oracle.security.jps.util.JpsSubject.doAsPrivileged(JpsSubject.java:299)
oracle.security.jps.ee.util.JpsPlatformUtil.runJaasMode(JpsPlatformUtil.java
:405)
oracle.security.jps.ee.http.JpsAbsFilter.runJaasMode(JpsAbsFilter.java:94)
oracle.security.jps.ee.http.JpsAbsFilter.doFilter(JpsAbsFilter.java:98)
oracle.security.jps.ee.http.JpsFilter.doFilter(JpsFilter.java:70)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
oracle.dms.servlet.DMSServletFilter.doFilter(DMSServletFilter.java:86)
weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:55)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.wrapR
un(WebAppServletContext.java:3687)
weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(W
ebAppServletContext.java:3681)
weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubjec
t.java:308)
weblogic.security.service.SecurityManager.runAs(SecurityManager.java:116)
weblogic.servlet.internal.WebAppServletContext.securedExecute(WebAppServletC
ontext.java:2213)
weblogic.servlet.internal.WebAppServletContext.execute(WebAppServletContext.
java:2135)
weblogic.servlet.internal.ServletRequestImpl.run(ServletRequestImpl.java:142
0)
weblogic.work.ExecuteThread.execute(ExecuteThread.java:203)
weblogic.work.ExecuteThread.run(ExecuteThread.java:170)
>I just noted that this is a database connectivity issue because when I point my soa related data sources (mds, soa_infra, etc...)to a local xe database, the deployment is doing fine.
-
Dear experts:
I got a problem with ABAP memory performance issue. I need to export an internal table to ABAP memory, and it's ID is sales order number. So, I will bulid too many ABAP memory in SAP...
Does it will couse performance issue or will it be lost?
tyroluHi Tyrolu,
There are some settings in basis which decides size of your abap memory.
If you are consuming most of the abap memory by exporting heavy objects to abap memory then
you may face a problem as many standard sap program aslo uses abap memory and
if there is no free abap memory then they will start thowing short dumps like "Page allocation error"
or "Could not allocate shared memory" or something like that, I don't remember exact term now.
In some cases you won't have any problem if users are less, but as the no of concurrent users
running your program increased then every user who runs the program would consume abap memory
and if there is no free abap memory then this may again lead to above mentioned problem.
Also ensure FREE MEMORY ID is used which clears abap memory immediatly.
Other wise abap memory is cleared by the garbage collector on random basis and by that time
your memory remains consumed and not available for other programs to use
which may again lead to above mentioned problem.
Regards,
Vishal -
Given from scjp
1.public static void main(String[] args) {
2. NameRunnable nr = new NameRunnable();
3. Thread t1 = new Thread(nr);
4. t1.start();
5. t1.join();
}There are some questions which i made up myself to test how i understand about the thread issue and I really need some experts to confirm about it.
Question 1: At line 3, how many threads we have now ?
my answer is
there are 2 threads. the first one is main thread and the second one is t.
I am not sure about the t thread because in the book, they indicate that after instantiating the thread,
we just have a thread object but not a true thread.
Question 2: At line 4, after t1.start(), which thread will be executed first.
My answer is
we dont know because it depends on the scheduler.
Question 3: what t1.join() does ?
my answer is
blablabla.What I am thinking is t.join() joins the current thread to the end of t so that when t finishes the current thread can run again. However, which one is the current thread now. That is why I am stuck
Please help me. I appreciate
Edited by: newbie on Nov 25, 2010 4:46 PM
Edited by: newbie on Nov 25, 2010 4:47 PM
Edited by: newbie on Nov 25, 2010 4:49 PMnewbie wrote:
Given from scjp
public static void main(String[] args) {
NameRunnable nr = new NameRunnable();
Thread t1 = new Thread(nr);
t1.start();
t1.join();
}There are some questions which i made up myself to test how i understand about the thread issue and I really need some experts to confirm about it.
Question 1: At line 3, how many threads we have now ?
my answer is
there are 2 threads. the first one is main thread and the second one is t.
I am not sure about the t thread because in the book, they indicate that after instantiating the thread,
we just have a thread object but not a true thread.
Don't use code blocks for prose. It won't autowrap and can lead to display problems if a line is too long.
Which is line 3?
What do you mean by "how many threads to we have?" Do you mean how many Thread objects exist, or how many threads (lower case "t") are executing.
After you have called t1.start(), there are at least 2 threads executing--the main thread, and the one you started. I say "at least" because the JVM has some administrative threads of its own.
Question 2: At line 4, after t1.start(), which thread will be execute first.
My answer is
we dont know because it depends on the scheduler.
Correct. And don't think of one executing "first." They can take turns, or they can both execute at the same time (if you have a multicore or multi-CPU machine).
Question 3: what t1.join() does ?
my answer is
blablabla.What I am thinking is t.join() joins the current thread to the end of t so that when t finishes the current thread can run again. However, which one is the current thread now. That is why I am stuck
Please help me. I appreciateDid you read [url http://download.oracle.com/javase/6/docs/api/java/lang/Thread.html#join()]the docs for join()? They tell you exactly what it does. If you don't understand after reading, post again.
Maybe you are looking for
-
Ipod Touch generation 2 ios 4.2.1
is there any good games/apps for the 2nd generation ipod touch ios 4.2.1?
-
Dear all, I have a condtion that is both at header and item level. There is an access sequense so as to automatical suggest a value. This condition is the profit for us. The system automatical suggest the 27% at header level and transfers this at
-
Booking a Foreign Currency Sales Order (Ver 11.5.3)
Facing a problem in Booking Foreign Currency Sales Order We are on Orade Mgmt (Ver 11.5.3) Partcularly, where do you enter the EXCHANGE RATE ? Thanks null
-
Hi Gurus, I have big requirement which you might have faced this before, but very hard to understand. we have three components which goes in another component for eg: B1, B2 and B3 goes under component A1. B1 has got internal and customer specificati
-
CTIOS Disable Supervisory Assist
Hello, Is there a simple way to disable supervisory assist button from CTIOS client 9.0? Thank you, Sahar Hanna