Ò׽ؽØͼÈí¼þ¡¢µ¥Îļþ¡¢Ãâ°²×°¡¢´¿ÂÌÉ«¡¢½ö160KB

ÈçºÎ¸ü¸ÄTomcatÖÐjavaÐéÄâ»úµÄÄڴ棿

ÎÒдÁËÒ»¸ö³ÌÐòÓÃÀ´½ÓÊÕ¿Í»§¶Ë·¢¹ýÀ´µÄÊý¾Ý£¬µ«ÊÇÈç¹û¶à¸ö¿Í»§¶ËÒ»ÆðÏñÕâÀï·¢ËÍÊý¾Ýʱ£¬±¨StandardWrapperValve[xmlreceiver]: Servlet.service() for servlet xmlreceiver threw exception java.lang.OutOfMemoryError£¬ÕâʱÐèÒªÀ©´ótomcatµÄjavaÐéÄâ»úÄڴ棬ÈçºÎ¸ü¸ÄÄØ£¿
ÔÚ Windows²Ëµ¥ÖÐÕÒµ½Tomcat°²×°²Ëµ¥ÖеÄMonitor Tomcat´ò¿ª£¬ÔÚjavaÑ¡ÏÖпÉÒÔÉèÖÃjvmµÄÄÚ´æ:


Ïà¹ØÎĵµ£º

javaÃÀ»¯½çÃæ°ü

µ¼ÈëÅäÖÃjar°ü substance.jar
È»ºóÔÚframeµÄÖ÷º¯Êý ¼ÓÈëÈçÏ´úÂë
 JFrame.setDefaultLookAndFeelDecorated(true);
   JDialog.setDefaultLookAndFeelDecorated(true);
   try {
   UIManager.setLookAndFeel(new org.jvnet.substance.skin.SubstanceModerateLookAndFeel()) ; ......

javaÏ̳߳Ø

          Ï̳߳ØÖ÷ÒªÊÇÓÃÀ´ ´¦Àí¶à¸öÇëÇóʱ£¬¼õÉÙ×ÊÔ´ÏûºÄ£¬Ìá¸ßÓ¦ÓÃÐÔÄÜ¡£
        ÏÂÃæµÄ´úÂëÊÇÀ´×ÔÓÚ ËïÎÀÇÙ£º<<JavaÍøÂç±à³Ì¾«½â>> ÖÐÏ̳߳ØʵÏÖÔ´Âë, ´úÂë½á¹¹¼òµ¥ÇåÎú£¬¶ÔÓÚÀí½âÏ̳߳أ¬wait(),notify()·½·¨¶¼ÓÐÓÐºÜ ......

Java I/O³£ÓÃÁ÷ʾÀý

package io;
import java.io.*;
/**
* @author ¸ßÕíÎâÓÇ
* ÀûÓûº³åÇøÔ­Àí,BufferedInputStream,
* ʵÏÖµÄÎļþ×Ö½ÚÁ÷¶ÁÈ¡¹¦ÄÜʾ·¶
*
*/
public class BufferedInOutputStream {
public BufferedInOutputStream() {
ioTest2();
}
public void ioTest2() {
FileInputStream in = null ;
BufferedInput ......

½éÉܺÍʹÓÃBerkeley DB Java Edition£¨Ç¶ÈëʽÊý¾Ý¿â£©

Ò»¡¢ ¼ò½é
       Berkeley DB Java Edition (JE)ÊÇÒ»¸öÍêÈ«ÓÃJAVAдµÄ£¬ËüÊʺÏÓÚ¹ÜÀíº£Á¿µÄ£¬¼òµ¥µÄÊý¾Ý¡£
        Äܹ»¸ßЧÂʵĴ¦Àí1µ½1°ÙÍòÌõ¼Ç¼£¬ÖÆÔ¼JEÊý¾Ý¿âµÄÍùÍùÊÇÓ²¼þϵͳ,¶ø²»ÊÇJE±¾Éí¡£
        ¶ ......
© 2009 ej38.com All Rights Reserved. ¹ØÓÚE½¡ÍøÁªÏµÎÒÃÇ | Õ¾µãµØͼ | ¸ÓICP±¸09004571ºÅ