HELP - With Object Heap

Hello,
I was wondering if you could help me with my problem. I have recently designed a website that uses the JVM on the server side (http://amazingestate.com) on a shared linux machine. The site was working fine until the owners of the server installed a few new files and I now get errors when running the site.
The java classes run fine from a command prompt but when are called by a cgi I get a �could not reserve enough space for the object heap� error. The java programs are small and don�t require large memory requirements.
I was thinking the error is within the shell script in terms of allocating space for the program. I am not sure how to allocate memory within the shell account at runtime within the cgi wrapper script. The script bellow used to work fine and also run fine when telneting into my account. The error only occurs when running inside a cgi request.
I have also tried the �Xmx and �Xms commands without luck.
I have also tried to test the ulimit which is also set on unlimited.
The following script can be found at
http://amazingestate.com/cgi-bin/publicView/RND10.cgi
which allows the viewing of the error
#!/bin/sh
echo "content-type:text/html"
echo
ulimit
echo "<HTML><BODY>"
echo "</BODY></HTML>"
/usr/java/j2sdk1.4.0/bin/java -server -cp /home/amazing/ss/publicView RND10
Anyones help would be greately appreciated. Thanks for your time.
Dale Miller

You're going to start a new JVM every time you get a page hit? Are you aware of how costly this is (slow and memory-intensive)? This is exactly the type of requirement that Java servlets and server pages (jsps) are designed to take care of. You should consider using these.
Regarding your specific problem, the only thing I could recommend trying are the -Xmx/ms switches, which you seem to have tried.

Similar Messages

  • HELP with object carousel

    Hi,
    I need some help with the use of the DSM-CC object carousel.
    In my Xlet, I need to read a file (previsioni.TXT), that is in the package testo; this is the structure of my folder:
    \\mio; the first package
    \\ MyXlet.java
    \\ testo; package with the text
    \\ previsioni.TXT
    1. so I create un object carousel and then access the file with the java.io.File :
    try {
                   System.out.println("Requesting file");
                        DSMCCObject carouselFile = new DSMCCObject("testo/previsioni.TXT");
              carouselFile.synchronousLoad();
              FileInputStream inFile = new FileInputStream(carouselFile);
              //Construct a DataInputStream by using the
                   //FileInputStream in the constructor method.
              DataInputStream inData = new DataInputStream (inFile);
              //Invoke methods of DataInputStream to read data from the data source.
         String s = inData.readUTF();
         System.out.println(s);
              //Close the FilterInputStream.
         inData.close ();
                   catch (InvalidPathNameException e) {
                        System.out.println("Invalid path name!");
                   catch (IOException e){
                        System.out.println("Problem reading previsioni.txt ");
    but when I run this code Xletview write
    [XleTView]-INFO->loading Xlet... [mio.StatiXlet]
    [XleTView]-INFO->XLET started... [mio.StatiXlet]
    mio.StatiXlet : Inizializzazione avvenuta!
    mio.StatiXlet : Hello TV World
    Requesting file
    xjava.io.File -
    Problem reading previsioni.txt
    and so there is an IO execption. Can someone help me?
    2. then, when the file is in the string s, i would display this file; I try with the Htext:
    texts = new HText( s, 20, 20, 200, 300, new Font("Tiresias", Font.BOLD, 26), Color.black, Color.white, new HDefaultTextLayoutManager());
    but when I compile the code appear:
    StatiXlet.java:173: cannot resolve symbol
    symbol : variable s
    location: class mio.StatiXlet
    texts = new HText( s, 20, 20, 200, 300, new Font("Tiresi
    as", Font.BOLD, 26), Color.black, Color.white, new HDefaultTextLayoutManager());
    ^
    1 error
    Do you know how can I display this file?
    Thank you very much

    Hi beker,
    thank you so much for your help, but I have another question.
    I use your code and when I compile is OK, but when I run it in XletView it doesn't find the file previsioni.TXT and write this:
    [XleTView]-INFO->loading Xlet... [mio.StatiXlet]
    [XleTView]-INFO->XLET started... [mio.StatiXlet]
    mio.StatiXlet : Inizializzazione avvenuta!
    mio.StatiXlet : Hello TV World
    xjava.io.File - testo/previsioni.TXT
    java.io.FileNotFoundException: E:\Documenti\tirocinio\xlet esempi\testo\previsio
    ni.TXT (Impossibile trovare il percorso specificato)
    at java.io.FileInputStream.open(Native Method)
    at java.io.FileInputStream.<init>(FileInputStream.java:103)
    at java.io.FileInputStream.<init>(FileInputStream.java:66)
    at xjava.io.FileInputStream.<init>(Unknown Source)
    at xjava.io.FileInputStream.<init>(Unknown Source)
    at mio.StatiXlet.startXlet(StatiXlet.java:97)
    at net.beiker.xletview.xlet.XletManager.resumeRequest(Unknown Source)
    at net.beiker.xletview.xlet.XletManager.run(Unknown Source)
    at java.lang.Thread.run(Thread.java:536)
    s=not read
    What does it mean? I'm sure that the path is right, what do you think?
    Thank you very much beiker for your help

  • Need help with Object States or Buttons?

    I currently work in InDesign to compile layouts and present design decks to clients. Our template includes an approval section (Not Approved, Revised, Approved) that we currently have as white/black bubbles that we change manually on each page. I've been trying to find a way to speed up this process. I know that in InDesign you can create buttons than you can then click on-off on your PDF - we used to do this but it is too time consuming (we have PDF's anywhere from 25-120 pages). I have been playing around with Object States, so we can quickly update the bubbles in InDesign itself as we work.
    Does anyone know of a way to change the state of multiple objects on multiple pages at the same time? (For example, if I want to change all pages to "Approved" at the same time - or if I only wanted to do some, but not all, of the pages.)
    Can anyone recommend any other InDesign tools that may be able to create a similar function for an "approval" stamp, but that still is done in InDesign (not in the PDF after exporting)?

    I was hoping that wouldn't be the only way. My have multiple master pages already, and not all pages will be "approved" at the same time. So we've run into issues with putting these on the masters as it gets easier to miss them.

  • Help with object oriented concepts

    I am a senior highschool student and although I know Java syntax, I learned with Pascal and other procedural languages so I have a difficult time thinking in OOP concepts (which I will have to learn for college classes). So for practice I went to my college's website and found an assignment on the intro course to programming: [Here are the assignment instructions.|http://www.cs.gsu.edu/knguyen/teaching/2009/spring/csc2010/proj.pdf]
    My question is, how can I make my program illustrate more object oriented concepts?
    Links:
    ode-help.110mb.com/javaproject.java_

    Just a few comments (not necessarily about OO and in no particular order):
    It's probably not worth it to make constants for the letter A or the plus sign. Make constants for values people would not understand:
    // Ok
    public static final int ANSWER_TO_THE_UNIVERSE = 42;'
    // Probably overkill
    public static final int FORTY_TWO = 42;
    Good job on having DecimalFormat as a regular instance variable rather than static (since it is not thread-safe)
    Good job initializing your object in a consistent state (via the ctor). Now, make as many variables final as you can. Immutable objects are good:[www.javapractices.com/topic/TopicAction.do?Id=29]
    Not sure why you declared repeat() to return the boxed version of boolean, just use a primitive
    You have a run() method but are not implementing Runnable. Not that it is required, but usually when I see run(), I think of threading
    This is a matter of style, but you don't need to name the arguments in the ctor differently than the instance variables that get assigned. You can very easily say:
    // Note that it is final.  Make things immutable when you can.
    private final String bar;
    public Foo(final String bar) {
       // Note:  I don't need a different name here.  This is purely a matter of personal style.
       this.bar = bar;
    Consider a while loop in run() rather than a do-loop. What happens if you get no input the first time around?
    Java naming conventions dictate that classes start with a capital letter. Generally, an underscore is not used, camel-case is. So, your class should be JavaProject.
    Consider making an object for the arguments that are passed into input. Maybe call it GradeCategory, or whatever.
    That new object GradeCategory can have the output() method.
    For method names, also follow conventions using camel case. So get_double should be getDouble().
    Consider reworking such that you use an array or a collection of GradeCategory. You might want to then have an add method in your JavaProject. The add method should ensure the total weight of grades does not exceed 100%.
    You can rework the output method of JavaProject to iterate over your GradeCategory objects, calling their own output() methods. Perhaps it also first checks that the weight of all grades equals 100%.Just a few thoughts.
    - Saish

  • Need HELP with objects and classes problem (program compiles)

    Alright guys, it is a homework problem but I have definitely put in the work. I believe I have everything right except for the toString method in my Line class. The program compiles and runs but I am not getting the right outcome and I am missing parts. I will post my problems after the code. I will post the assignment (sorry, its long) also. If anyone could help I would appreciate it. It is due on Monday so I am strapped for time.
    Assignment:
    -There are two ways to uniquely determine a line represented by the equation y=ax+b, where a is the slope and b is the yIntercept.
    a)two diffrent points
    b)a point and a slope
    !!!write a program that consists of three classes:
    1)Point class: all data MUST be private
    a)MUST contain the following methods:
    a1)public Point(double x, double y)
    a2)public double x ()
    a3public double y ()
    a4)public String toString () : that returns the point in the format "(x,y)"
    2)Line class: all data MUST be private
    b)MUST contain the following methods:
    b1)public Line (Point point1, Point point2)
    b2)public Line (Point point1, double slope)
    b3)public String toString() : that returns the a text description for the line is y=ax+b format
    3)Point2Line class
    c1)reads the coordinates of a point and a slope and displays the line equation
    c2)reads the coordinates of another point (if the same points, prompt the user to change points) and displays the line equation
    ***I will worry about the user input later, right now I am using set coordinates
    What is expected when the program is ran: example
    please input x coordinate of the 1st point: 5
    please input y coordinate of the 1st point: -4
    please input slope: -2
    the equation of the 1st line is: y = -2.0x+6.0
    please input x coordinate of the 2nd point: 5
    please input y coordinate of the 2nd point: -4
    it needs to be a diffrent point from (5.0,-4.0)
    please input x coordinate of the 2nd point: -1
    please input y coordinate of the 2nd point: 2
    the equation of the 2nd line is: y = -1.0x +1.0
    CODE::
    public class Point{
         private double x = 0;
         private double y = 0;
         public Point(){
         public Point(double x, double y){
              this.x = x;
              this.y = y;
         public double getX(){
              return x;
         public double setX(){
              return this.x;
         public double getY(){
              return y;
         public double setY(){
              return this.y;
         public String toString(){
              return "The point is " + this.x + ", " + this.y;
    public class Line
         private double x = 0;
         private double y = 0;
         private double m = 0;
         private double x2 = 0;
         private double y2 = 0;
         public Line()
         public Line (Point point1, Point point2)
              this.x = point1.getX();
              this.y = point1.getY();
              this.x2 = point2.getX();
              this.y2 = point2.getY();
              this.m = slope(point1, point2);
         public Line (Point point1, double slope)
              this.x = point1.getX();
              this.y = point1.getY();
         public double slope(Point point1, Point point2)//finds slope
              double m1 = (point1.getY() - point2.getY())/(point1.getX() - point2.getX());
              return m1;
         public String toString()
              double temp = this.x- this.x2;
              return this.y + " = " +temp + "" + "(" + this.m + ")" + " " + "+ " + this.y2;
              //y-y1=m(x-x1)
    public class Point2Line
         public static void main(String[]args)
              Point p = new Point(3, -3);
              Point x = new Point(10, 7);
              Line l = new Line(p, x);
              System.out.println(l.toString());
    }My problems:
    I dont have the right outcome due to I don't know how to set up the toString in the Line class.
    I don't know where to put if statements for if the points are the same and you need to prompt the user to put in a different 2nd point
    I don't know where to put in if statements for the special cases such as if the line the user puts in is a horizontal or vertical line (such as x=4.7 or y=3.4)
    Edited by: ta.barber on Apr 20, 2008 9:44 AM
    Edited by: ta.barber on Apr 20, 2008 9:46 AM
    Edited by: ta.barber on Apr 20, 2008 10:04 AM

    Sorry guys, I was just trying to be thorough with the assignment. Its not that if the number is valid, its that you cannot put in the same coordinated twice.
    public class Line
         private double x = 0;
         private double y = 0;
         private double m = 0;
         private double x2 = 0;
         private double y2 = 0;
         public Line()
         public Line (Point point1, Point point2)
              this.x = point1.getX();
              this.y = point1.getY();
              this.x2 = point2.getX();
              this.y2 = point2.getY();
              this.m = slope(point1, point2);
         public Line (Point point1, double slope)
              this.x = point1.getX();
              this.y = point1.getY();
         public double slope(Point point1, Point point2)//finds slope
              double m1 = (point1.getY() - point2.getY())/(point1.getX() - point2.getX());
              return m1;
         public String toString()
              double temp = this.x- this.x2;
              return this.y + " = " +temp + "" + "(" + this.m + ")" + " " + "+ " + this.y2;
              //y-y1=m(x-x1)
    public class Point2Line
         public static void main(String[]args)
              Point p = new Point(3, -3);
              Point x = new Point(10, 7);
              Line l = new Line(p, x);
              System.out.println(l.toString());
    }The problem is in these lines of code.
    public double slope(Point point1, Point point2) //if this method finds the slope than how would i use the the two coordinates plus "m1" to
              double m1 = (point1.getY() - point2.getY())/(point1.getX() - point2.getX());
              return m1;
         public String toString()
              double temp = this.x- this.x2;
              return this.y + " = " +temp + "" + "(" + this.m + ")" + " " + "+ " + this.y2;
              //y-y1=m(x-x1)
         }if slope method finds the slope than how would i use the the two coordinates + "m1" to create a the line in toString?

  • Help with objects, classes, etc...

    Im having a little trouble grasping the concept of all of these names. I know that every Java program is a class. Now, is a method what we call in C++ a function? It seems as though this is what it is while reading this book but just want to clarify it. And also, what is a good defninition for an object. I know that parseInt() is an object but does that mean that is is some kind of function/method that was declared or made in a class?

    lol ... ok; it's easy to get caught up in the jargon...
    A class is a "type" of thing, complete with values which describe the thing and operations that the thing can perform. For instance, a "dog" can be described in terms of its breed, size, markings, and things that it does (eat, do tricks, bark, etc).
    An object is a dinstinct instance of a class. So, if you are talking about one particular dog, let's say Lassie, you can describe it as a collie, of a certain size, etc, etc.
    Object oriented programming makes use of this jargon. The act of creating an object from a class description is known as "instantiation".
    You mentioned C++. In C++, you can have functions which stand alone, or functions which are part of classes. C++ functions which are part of class definitions are known as "member functions"; Java methods are like C++ member functions.
    now, on to parseInt(). remember how we said that a class definition can define operations (like "eat", for a dog)? well, although we can define the eat operation, only a instance of dog (e.g., Lassie) can actually perform the operation. so, if you have Lassie and RinTinTin in front of you, and you say, "Lassie, bark!", only Lassie will perform that operation.
    in object oriented programming, a method which makes sense for one object (that is, one particular instance of a class) to perform is known as an instance method. there's another abstraction, though... you can define variables and methods which belong to all instances of a class (as a group), rather than any one particular object. These are known as class variables and class methods, and Java uses the keyword "static" to identify them.
    So, if I had the class dog, it might look a little like:
    public class Dog {
        private float weight;  // each dog object will have its own weight variable
        static private int count;  // this is shared by all instantiated dog objects!
        public void bark() {
            // instance method.  call this with respect to a particular dog object
            System.out.println ("Woof.");
        public static int getCount() {
            // this method is shared by all instantiated dog objects.  It's called using the syntax
            // Dog.getCount(), rather than by instantiating a dog object and using the object to call
            // the method
            return count;
    // etc...
    }Does that make sense? some variables belong to each particular instantiated object, while others don't need an object in order to refer to them.
    one more thing: in Java, there are objects and there are primitives. the primitives are data types such as int, float, boolean, etc. Java also provides wrappers for these primitives, so you can refer to them in object contexts; for example, Integer, Boolean, etc.
    OK... now back to your question. parseInt() is a static method of class Integer. (therefore, you don't need an instance of Integer in order to call parseInt().
    the parseInt() method returns an int.
    make sense?

  • Help with objects

    Hi,
    Can you please help on the usage of the table() function in oracle 10g
    I have created a nested table as below
    create or replace type testtype is table of varchar2(40);
    created and object as below to accomodate the nested table in the object
    create or replace type simpleobj is
    object
    name varchar2(30),
    age number(3),
    mobile number(6),
    chk testtype
    Can you please check this function below
    create or replace procedure testtab(num in simpleobj)
    is
    peak testtype;
    begin
    select e.* into peak
    from table(num.chk) e;
    end;
    I am unable to use the table() function in this context.
    Can you please help on how can I return the nested table which is inside and object
    Thnx

    you mean like this?
    create type obj_typ is object(
    ename varchar2(20),
    esal number);
    create type nest_typ is table of obj_typ;
    create or replace function nest_func(p_deptno number) return nest_typ is
    nest_var nest_typ;
    begin
    select obj_typ(ename,sal) bulk collect into nest_var  from emp where deptno=p_deptno;
    return nest_var;
    end;
    select * from table(nest_func(30));
    ENAME                      ESAL
    ALLEN                      1600
    WARD                       1250
    MARTIN                     1250
    BLAKE                      2850
    TURNER                     1500
    JAMES                       950
    6 rows selected.
    Elapsed: 00:00:00.00Regards,
    Prazy

  • Need help with Object error message

    Hello, Forum.
    In DW CS5 I'm getting an error message, "This page contains object tags that may not work properly in the most recent versions of Internet Explorer. DreamWeaver cannot convert these object tags.". Anytime I previously encountered this message, it ended with, "To correct this problem you can covert these tags to browser safe scripts. Do you want Dreamweaver to convert these tags for you?". Why does DW now say it can't convert the tags, and what can I do?
    Thanks much.
    Cayce

    Is your code valid?
    CSS - http://jigsaw.w3.org/css-validator/
    HTML - http://validator.w3.org/
    Nancy O.
    Alt-Web Design & Publishing
    Web | Graphics | Print | Media  Specialists 
    http://alt-web.com/

  • Calling DrClap to help with objects and AbstractTableModel

    Hi DrClap,
    I am trying to implement the AbstractTableModel using objects as containers of data. Every thing works till the data is displayed, while setting the data, I am having trouble.
    I am using reflection to get the bean getter and setter methods. Also I have restricted the fields displayed using column names passed from config file. Also how do you go about doing data validation? I was thinking more on the lines of column validator classes which do the validation and display the cells having errors with a different color.
    You have mentioned in reply 17 of this thread that you have implemented this functionality.
    Could you please paste sample code? If the code is too large, could you please mail this to me? My email is [email protected] . I have been searching high and low for the last few days without any positive response.
    Thanks in advance.

    Found out how to do this...
    I had to create a config file to specify the various bean properties like get/set method names. This is because reflection gives other values other than get and set methods.

  • Help with objects and classes

    the only problems i have is getting the bestTime value to display at the end and also getting the proper message dialog boxes to appear by calling the other program instead of putting JOptionPane.showInputDialog...... in this part
    Swimmer swim = new Swimmer();
              swim.setName(JOptionPane.showInputDialog(null, "Input user's name"));
              swim.setInitTime(Double.parseDouble(JOptionPane.showInputDialog(null, "Enter initial time")));
              swim.setFinTime(Double.parseDouble(JOptionPane.showInputDialog(null, "Enter final time")));there should be a way i can call the other program where i have the methods in but im not sure as to how to do it.
    import javax.swing.JOptionPane;
    public class Swimmer
         private String name;
         private double initTime;
         private double finalTime;
         private double bestTime = 0;
         public void setName(String n)
              name = n;
         public void setInitTime(double t)
              initTime = t;
         public void setFinTime(double f)
              finalTime = f;
         public void setBest(double b)
              bestTime = b;
         public String getName()
         String userName = "";
              userName = JOptionPane.showInputDialog(null,
              "Input swimmer's name");
              return name;
         public double getInitTime()
              double initialT;
              initialT = Double.parseDouble(
                   JOptionPane.showInputDialog(null, "Enter initial time"));     
              return initTime;
         public double getFinTime()
              double finalT;
              finalT = Double.parseDouble(
                   JOptionPane.showInputDialog(null, "Enter final time"));
              return finalTime;
         public double getBest(double initTime, double finalTime)
              initTime = 0;
              finalTime = 0;     
              double bestTime = 0;
              if (finalTime > initTime)
                   bestTime = initTime;
              else
                   if (initTime > finalTime)
                        bestTime = finalTime;
                   return bestTime;
         public void output()
         String outString = "";
         outString += name + "\n";
         outString += "Best Time: " + bestTime + " seconds\n";
         JOptionPane.showMessageDialog(null, outString);
    }new other java file. the problem i was talking about up top is for this program. instead of using the joption dialog boxes there should be a way to call the other program where i have methods but im not sure how to do it.
    import javax.swing.JOptionPane;
    public class Swimmer2
         public static void main(String[] args)
              Swimmer swim = new Swimmer();
              swim.setName(JOptionPane.showInputDialog(null, "Input user's name"));
              swim.setInitTime(Double.parseDouble(JOptionPane.showInputDialog(null, "Enter initial time")));
              swim.setFinTime(Double.parseDouble(JOptionPane.showInputDialog(null, "Enter final time")));
              swim.output();
    }

    swim.setName(swim.getName());would seem to work.
    Very odd design though.

  • Newbie help with Objects

    Hi there,
    I've been trying to write a program which invokes a few different methods. I was wondering if there is a way of transferring data.. say an integer... from one method to another?
    Thanks!

    of course there is. that's basically what writing code is all about. start at the beginning and read a basic tutorial
    lots of luck!

  • Problem with Java Memory "Could not reserve enough space for object heap"

    Hi gurus,
    I am not an expert with Java´s configuration, and I have a situation that I don´t understand. First of all, I am working at Centos 6.2 with jdk_1.6 and Tomcat 7.
    The problem is...
    - If I run Tomcat with JAVA_OPTS="-Xmx128m"* (at catalina.sh) all works fine.
    - If I run Tomcat with JAVA_OPTS="-Xmx512m"* (at catalina.sh) an error appears:
    Error occurred during initialization of VM
    Could not reserve enough space for object heap
    Could not create the Java virtual machine.
    This appear when I run java -version or when I try to stop Tomcat, and the Tomcat isn´t able to stop.
    The strange thing is that my server has more than 200M free in physical memory. So, why Tomcat isn´t able to stop? and Why Java doesn´t use the free memory in my server?
    Thanks in advanced.

    Hello EJP, thanks for your answer.
    I have explained bad.
    The server has 703M free when Tomcat is stopped. I had mentioned that my server has more than 200M free in physical memory when Tomcat is running with JAVA_OPTS="-Xmx512m", so I don´t understand why these errors appear.
    Do you understand me?
    Recently I have checked the swap memory, and it is disabled. In spite of swap memory is disabled I think java wouldn´t need this memory because it has free physical memory
    Thanks again.

  • Can't figure out why colors don't totally change when you select type with curser? It looks like it has by looking at it, but when you highlight the area after the old color is still there. It happens with objects to. Driving me NUTZ. Help!

    Can't figure out why colors don't totally change when you select type with curser? It looks like it has by looking at it, but when you highlight the area after the old color is still there. It happens with objects to. Driving me NUTZ. Help!

    Select the text, and open the Appearance palette (Come on guys, text highlight is irrelevant, it happens to objects too says the OP), and see what's listed there.  For a simple text object, there should only be a line item "Type", followed by "Characters", and when double-clicked the Characters line item expands to tell you the stroke and fill color.  For a basic object, there should be a fill and/or stroke.
    What happens sometimes, is that you end up adding extra strokes/fills to objects or text, and the appearance palette is where that will be noted.  Especially when you are dealing with groups, and/or picking up a color with the eyedropper, you may inadvertently be adding a fill or stroke on top of something.  You can drag those unwanted thingies from the Appearance palette into its own little trash can.

  • Help with httpService returnFormat "object"

    Problem:
    My flex httpservice returns an xml file in the "object"
    resultFormat.
    How could I get the count of all childNodes of an object in
    that returned object tree.
    For example, in the xml file below:
    <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
    <reporting>
    <series>
    <title>Edge Page Views, in Page Views per
    Second</title>
    <xLabel>startdatetime</xLabel>
    <y1Label>sum(pageviews)</y1Label>
    <data>
    <x>1216233600</x>
    <y1>79.605</y1>
    </data>
    <data>
    <x>1216233900</x>
    <y1>78.076</y1>
    </data>
    </series>
    <series>
    <title>Total Bandwidth, in Mbits per
    Second</title>
    <xLabel>startdatetime</xLabel>
    <y1Label>sum(egress_bytes_mbps)</y1Label>
    <y2Label>combined_midgress_bytes_mbps</y2Label>
    <y3Label>ovh_bytes_mbps</y3Label>
    <y4Label>sum(ingress_bytes_mbps)</y4Label>
    <data>
    <x>1216233600</x>
    <y1>36.160352</y1>
    <y2>66.48362700000001</y2>
    <y3>66.48362700000001</y3>
    <y4>96.01235200000002</y4>
    </data>
    <data>
    <x>1216233900</x>
    <y1>34.260794</y1>
    <y2>62.10649799999999</y2>
    <y3>62.10649799999999</y3>
    <y4>88.902323</y4>
    </data>
    <data>
    <x>1216234200</x>
    <y1>35.329617</y1>
    <y2>62.77339099999999</y2>
    <y3>62.77339099999999</y3>
    <y4>89.30751</y4>
    </data>
    </series>
    </reporting>
    The first series element has 4 children
    I am able to get the number of data elements as:
    "resultObj.reporting.series[0].data.length"
    How do I effectively retreive:
    "resultObj.reporting.series[0].childNodes().length"
    Apparently this does'nt work, I also tried Nodes, children().
    Any documentation or help with this would be awesome
    Thanks a ton
    Pranay

    Can someone please help me understand this error maybe?
    I would appreciate it
    [MessagingError message='Destination 'the destination of an
    xml file' either does not exist or the destination has no channels
    defined (and the application does not define any default
    channels.)']
    what are channels?

  • Java 1.4.1 - Could not reserve space for object heap - need help

    I know this problem has been posted before, but I thought this was fixed in release 1.3. I'm using Windows XP/Professional and do the following:
    C:java -Xmx2g
    Error occured during initialization of VM
    Could not reserve space for object heap
    C:java -version
    java version "1.4.1_02"My computer system has 1 GB of RAM and a 2 GB pagefile, expandable to 3.5 GB. I can get going with -verbose:gc -Xmx1600m -Xms200m, but the GC only gets to about 1 GB before I get an out of memory exception, not even close to 1.6 GB as specified.
    I'd really appreciate it if anyone can shed some light on this behavior.
    Cheers, Eric

    Hmm.
    I tried a mini no-operation application with jdk1.3.1 on Linux. It run okay like this:
    $ java -Xmx1934M u
    $ echo $?
    0
    $ java -version
    java version "1.3.1_07"
    Java(TM) 2 Runtime Environment, Standard Edition (build 1.3.1_07-b02)
    Java HotSpot(TM) Client VM (build 1.3.1_07-b02, mixed mode)
    $ cat u.java
    class u {
    public static void main(String a[]) {
    $This however fails miserably:
    $ java -Xmx1935M u
    Unexpected Signal : 11 occurred at PC=0x401a0cb7
    Function name=start_thread__2osP6Thread
    Library=/usr/lib/jdk1.3.1_07/jre/lib/i386/client/libjvm.so
    Current Java thread:
    Dynamic libraries:
    08048000-0804c000 r-xp 00000000 03:08 174723     /usr/lib/jdk1.3.1_07/bin/i386/native_threads/java
    0804c000-0804d000 rw-p 00003000 03:08 174723     /usr/lib/jdk1.3.1_07/bin/i386/native_threads/java
    40000000-40012000 r-xp 00000000 03:08 20686      /lib/ld-2.2.5.so
    40012000-40013000 rw-p 00011000 03:08 20686      /lib/ld-2.2.5.so
    ...This looks familiar:
    $ java -Xmx2000m u
    Error occurred during initialization of VM
    Could not reserve enough space for object heap

Maybe you are looking for

  • Help me Please..? How to change X & Y co-ordinate and height & width selected content...?

    Hi Everyone!           This is Vijay.I'm new baby to Indesign Script.In my office i took one task for indesign, that's i link one image to picture box that image jump from original position.so i copy that picture box and paste in place to new layer a

  • Changing the speed fo the flash player

    Does the adobe flash player have the capability to slow down or speed up the video?

  • Battery drains no matter what I do

    Hello there, I got my iphone replaced because after 1 year of perfect service and the best of battery performance, my iphone started draining battery. They couldn't find an answer so they replaced it. What I got is an iphone consuming 25% an an hour

  • Defining Vendor Heirarchy - SRM5.0

    Hello Everyone, we have recently implemented SRM 5.0 with supplier self registration & bidding engine. our current process is that every vendor (corporate or manufacturing) location registers individually and gets their own BP number. Users are creat

  • Runtime error 226 at 046A4477

    I have crazy popups with this error message. I need to close them 10 times in a row to proceed to a next web page. I have tried evewerything: reboot, antivirus, etc. IE works well. Only Firefox has this problem.