English 中文(简体)
这些java错误的起因是什么?
原标题:What could be the cause of these java errors?

Does any1 have any idea what could be the cause of these java errors?

The java version should be 1.4.1_05. This is related to PeopleSoft.

"VM Thread" prio=5 tid=0x00B8EF28 nid=0x5f8 runnable 
"VM Periodic Task Thread" prio=10 tid=0x00CF4CF8 nid=0x648 waiting on condition 
"Suspend Checker Thread" prio=10 tid=0x00CF5760 nid=0x64c runnable 
<Nov 17, 2011 1:41:46 PM GMT+08:00> <Error> <HTTP> <BEA-101017> <[ServletContext(id=21840659,name=PORTAL,context-path=)] Root cause of ServletException.
java.lang.OutOfMemoryError: unable to create new native thread
                at java.lang.Thread.start(Native Method)
                at bea.jolt.NwHdlr.start_threads(NwHdlr.java:1982)
                at bea.jolt.NwHdlr.openConnection(NwHdlr.java:879)
                at bea.jolt.CMgr.connect(CMgr.java:71)
                at bea.jolt.JoltSession.logon(JoltSession.java:246)
                at bea.jolt.JoltSession.<init>(JoltSession.java:125)
                at psft.pt8.net.JoltSessionWrapper.<init>(JoltSessionWrapper.java:67)
                at psft.pt8.net.JoltSessionPool.createConnection(JoltSessionPool.java:373)
                at psft.pt8.net.JoltSessionPool.getJoltSession(JoltSessionPool.java:220)
                at psft.pt8.net.NetSession.getJoltSession(NetSession.java:484)
                at psft.pt8.net.NetReqRepSvc.sendRequest(NetReqRepSvc.java:526)
                at psft.pt8.net.NetService.requestService(NetService.java:141)
                at psft.pt8.net.NetReqRepSvc.requestService(NetReqRepSvc.java:328)
                at psft.pt8.net.NetSession.connect(NetSession.java:269)
                at psft.pt8.net.NetSession.<init>(NetSession.java:203)
                at psft.pt8.jb.JBEntry.connectWithBlob(JBEntry.java:720)
                at psft.pt8.jb.JBEntry.connect(JBEntry.java:654)
                at psft.pt8.auth.PSAuthenticator.authenticate(PSAuthenticator.java:546)
                at psft.pt8.psreports.onLogin(psreports.java:216)
                at psft.pt8.psreports.onAction(psreports.java:321)
                at psft.pt8.psreports.service(psreports.java:181)
                at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
                at weblogic.servlet.internal.ServletStubImpl$ServletInvocationAction.run(ServletStubImpl.java:971)
                at weblogic.servlet.internal.ServletStubImpl.invokeServlet(ServletStubImpl.java:402)
                at weblogic.servlet.internal.TailFilter.doFilter(TailFilter.java:28)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                at psft.pt8.psfilter.doFilter(psfilter.java:71)
                at weblogic.servlet.internal.FilterChainImpl.doFilter(FilterChainImpl.java:27)
                at weblogic.servlet.internal.WebAppServletContext$ServletInvocationAction.run(WebAppServletContext.java:6372)
                at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:317)
                at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:118)
                at weblogic.servlet.internal.WebAppServletContext.invokeServlet(WebAppServletContext.java:3643)
                at weblogic.servlet.internal.ServletRequestImpl.execute(ServletRequestImpl.java:2585)
                at weblogic.kernel.ExecuteThread.execute(ExecuteThread.java:197)
                at weblogic.kernel.ExecuteThread.run(ExecuteThread.java:170)
>
问题回答

你们再造太多的镜子,用于read子的记忆。 你可以减少你制造的read子数量,或减少其缺省面积(原)的缺省。 -XX:ThreadStackSize=128>将使之达到128KB。 当然,如果你有特别深厚的方法,那么你会打到(h)。

由于你必须做很多的read子(ous子)以防弹,我的格言说,你的最好解决办法是第1号。 你不需要数千条read子。

眼前的原因是,你的科索沃信托机构为了为新的座右铭制造屏障而置之不理。

根本原因更难以确定:

  • 申请可能会造成不必要的或浪费。

  • 申请可能会在重新部署时泄露天线。

  • 校对可在I/O(例如读书)受阻,从来不回。

  • 可能出现一种 custom子,导致read子消失。

  • 你需要新的摇篮的记忆本来可以被其他事物所利用;例如,通过蒸气或记忆,根据日本国家武装部队的法典绘制档案或进行非飞跃的分配。

  • ......

缩小可怕的 st体大小是短期内可能发挥作用的宽带援助解决办法。 但从长远来看,你需要找出实际造成这一问题的原因。

你们首先应当把联合核查机制混为一谈,以便在跨边界评估系统上建立一个倾角文件,并利用后沉积分析器,看看是否存在任何烟雾;例如,在意想不到的国家里有许多read。

这一错误信息通常意味着你的系统已经摆脱了启动线索所需要的资源。 通常,这是对冲锋的记忆。

Java 1.4.1 was released in Sep 2002. Perhaps your system needs upgrading (possibly the hardware used or software versions)

java.lang.OutOfMemoryError可因您申请的记忆而引起,也可因您申请中的记忆泄露而造成。 https://stackoverflow.com/questions/3500773/java-lang-outofmemoryerror-unable-to-create-new-native-thread>

自动取款机分配每个直观记忆空间,称为read。 违约价值取决于本组织和联合核查机制是什么。 你们可以通过确定Xs方案,尝试减少用于接收记忆的空间——Xmx选择。 http://www.caucho.com/resin-3.0/perform./jvm-tuning.xtp”rel=“nofollow noreferer”>。

说得好。

java.lang.OutOfMemoryError: unable to create new native thread

因此,你似乎没有足够的记忆。 也许老的read子不会被杀死,因此,记忆越来越完整?

或者,你可以增加 Java的记忆。

/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package javaapplication1;

import java.util.Scanner;

/**
 *
 * @author smart
 */
public class JavaApplication1 {


    public static void main(String[] args) {

        String cname;
        double quantity, price, dp, total, dv, finaltotal;

        Scanner S=new Scanner(System.in); 


        System.out.println("please enter clientname");

        cname=S . nextLine();
        System.out.println("please enter quantity");
        quantity=S . nextDouble();
        System.out.println("please enter price");
        price=S . nextDouble();
        System.out.println("please enter discount percentage");
        dp=S . nextDouble();

        total=S . nextDouble();
        dv=S . nextDouble();
        finaltotal=S . nextDouble();

        total= quantity+price;
        dv= price-dp;
        finaltotal=total*dv;

        System.out.println(total);

        System.out.println(dv);

        System.out.println(finaltotal);           
    }   
}




相关问题
Spring Properties File

Hi have this j2ee web application developed using spring framework. I have a problem with rendering mnessages in nihongo characters from the properties file. I tried converting the file to ascii using ...

Logging a global ID in multiple components

I have a system which contains multiple applications connected together using JMS and Spring Integration. Messages get sent along a chain of applications. [App A] -> [App B] -> [App C] We set a ...

Java Library Size

If I m given two Java Libraries in Jar format, 1 having no bells and whistles, and the other having lots of them that will mostly go unused.... my question is: How will the larger, mostly unused ...

How to get the Array Class for a given Class in Java?

I have a Class variable that holds a certain type and I need to get a variable that holds the corresponding array class. The best I could come up with is this: Class arrayOfFooClass = java.lang....

SQLite , Derby vs file system

I m working on a Java desktop application that reads and writes from/to different files. I think a better solution would be to replace the file system by a SQLite database. How hard is it to migrate ...

热门标签