[Dart] Maximum submission size on Dart 0.8.5

Blezek, Daniel J (GE, Research) blezek at crd.ge.com
Wed May 2 06:58:22 EDT 2007


Hi Julien,

  I'm still not sure what is happening with the Ctest client, however, it looks as though Dart is running out of memory (perhaps related to the two different methods of submission).  Can you restart Dart with increased heap size?  Something like this:

java -Xmx512m -jar DartServer.jar <ServerDirectory> <ProjectDirectory>

The -Xmx512m tells Java to use up to 512 meg of memory.  I believe the default can be too small. (It is 128M as I remember).

-dan 

-----Original Message-----
From: dart-bounces+blezek=crd.ge.com at public.kitware.com [mailto:dart-bounces+blezek=crd.ge.com at public.kitware.com] On Behalf Of Julien Michel
Sent: Wednesday, May 02, 2007 5:52 AM
To: dart at public.kitware.com
Cc: Jordi Inglada
Subject: Re: [Dart] Maximum submission size on Dart 0.8.5

Blezek, Daniel J (GE, Research) a écrit :
> Hello Julien,
> 
>   I suspect this is a filesize limit in curl, not in Dart.  Can you 
> use the DartClient.jar from the Dart distribution?  It is documented 
> in the
> manual:
> 
> java -jar DartClient.jar -s Server.com ProjectName File.xml
> 
> {practical:MeanShiftRegistration}1309:java -jar 
> /local/Dart/DartClient.jar 0 [main] INFO dart.DartClient  - Starting 
> DartClient
> usage: DartClient [options] Project <foo1.xml> <foo2.xml> ... <fooN.xml>
>                   To use a proxy, specify -DproxyHost=host 
> -DproxyPort=8080 on the
>                   commandline
>  -p,--port              XML-RPC Port to connect to, 8081 is default
>  -R,--refreshServer     Refresh Server resources
>  -d,--date              Print the current date and exit
>  -g,--getstatus         Get Server status
>  -h,--help              Print help message
>  -l,--sql               SQL Commands to run on server
>  -q,--shutdown          Shutdown the Server
>  -r,--refresh           Refresh Project resources
>  -s,--server            Server to connect to, localhost is default
>  -u,--username          ProjectAdministrator username
>  -w,--password          ProjectAdministrator password
>  -z,--schedulerstatus   Get Scheduler status 
> 
> Let us know if this doesn't work.  I would also recommend upgrading to 
> a more recent version!  Dart 1.0 has been out for some time.  The 
> latest releases can be found here:
> http://na-mic.org/Wiki/index.php/Dart2Summary
> -dan

Dear Daniel,

For a while this problem of blank test report seemed to be fixed just by reducing the size of our test images. But recently it showed up again, and became more and more present : now we have up to 60% of our tests platforms with blank test record.

We are using ctest to perform tests and submission, using xmlrpc method. 
  Here is the message we have from ctest :

Submit files (using xmlrpc)
    Using XML-RPC submit method
    Submitting to: http://nemo:8081/OTB/Command/ (OTB)
    Submit file: 
D:/otb/nightly/otb-build/Release/Static/External/OTB/Testing/20070502-0000/Test.xml
  Submission problem: Curl failed to perform HTTP POST request. 
curl_easy_perform() says: ©?? (55) (-504)
    Problems when submitting via XML-RPC Errors while running CTest

On the server side, here is the trace of this error in the logs :

[SocketListener0-3] ERROR org.apache.xmlrpc.server.XmlRpcStreamServer  -
execute: Error while performing request
java.lang.OutOfMemoryError: Java heap space [SocketListener0-3] WARN org.mortbay.http.HttpConnection  - POST /OTB/Command/ HTTP/1.1 HttpException(400,Bad Request,Missing Content)

It is important to note that I am able to successfully perform submissions of the same xml files with the DART client.

Regarding the dart version, the documentation says 0.8.5 but I got this version of Dart2 from the subversion repository only a few month ago so I think it is quite up to date (but maybe I am wrong).

Of course we could try to always use the DartClient to perfom submission, but their do not seem to be a simple way to make ctest use a custom command form submission.

Do you have any idea of what is going wrong ?

Thanks a lot for your work and your help,

Julien



More information about the Dart mailing list