Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. saadwharton

    OutOfMemory Heap Error

    stefanwagner, This is not the complete code for the main method. I am using all of the variables later on in the main method. I posted a simplied version of the main method for objectivity to solving the problem I am having. I know that the problem has to do with the number of...
  2. saadwharton

    OutOfMemory Heap Error

    In Eclipse, under Project->Properties->Arguments tab->Program arguments and VM arguments, I set the following variables. Xms128m Xmx1024m and compiled the program. The compiler did not like the above arguments so I took them out. My main method is as follows: public static void...
  3. saadwharton

    OutOfMemory Heap Error

    Sorry - it is like this: class MyClass { private int [] a ; public MyClass() { a = new int[4000000] ; for (int i=0;i<4000000;i++) { a[i] = 0 ; } } }
  4. saadwharton

    OutOfMemory Heap Error

    I have a Java program with a class. The class has a private data member which is an array of integers. The array has 4 million data members. I initialize all 4 million data members with 0. When initializing, the program runs out of Heap memory when the loop iteration gets close to the 1...
  5. saadwharton

    sending Apache File Not Found error messages to syslog-ng

    On Ubuntu, the error log is located at /var/log/apache2/error.log . The error.log file does contain the 'File does not exist' entries. Each entry contains the date/time, IP Address, the words 'File does not exist' and the page that was accessed. The problem is in sending this information to...
  6. saadwharton

    sending Apache File Not Found error messages to syslog-ng

    Hi, I am running Apache 2 on Ubuntu. I am trying to send 'File Does not exist' messages from Apache to syslog-ng on the same server. I have the following perl script. The perl script is named apachelogger and is saved in the / directory. #!/usr/bin/perl Use Sys::Syslog qw( :DEFAULT...

Part and Inventory Search

Back
Top