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...
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...
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...
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...
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...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.