Menu

#21 java.lang.NegativeArraySizeException

JMVA
closed
nobody
Engine (12)
5
2009-02-05
2007-02-09
Anonymous
No

Hello,

I'm having the above problem when trying to solve a model with JMVA. I get the error both when the model is entered directly with JMVA, or when it is translated from JSIM graph. The model has been taken from the book "Capacity Planning for Web Services" by D. Menasce', and it is solved without problem by the Excel worksheet distributed with the book.
I get the problem when running JMVA both under Linux and Windows XP. When running on Linux, on the shell from which I launched it I get also these error messages:
java.lang.NegativeArraySizeException
at jmt.analytical.SolverMultiClosedMVA.solveLI(Unknown Source)
at jmt.analytical.SolverMultiClosedMVA.solve(Unknown Source)
at jmt.gui.exact.link.SolverDispatcher.solveMulti(Unknown Source)
at jmt.gui.exact.link.SolverDispatcher.finalDispatch(Unknown Source)
at jmt.gui.exact.link.SolverDispatcher.solve(Unknown Source)
at jmt.gui.exact.link.SolverDispatcher.solve(Unknown Source)
at jmt.gui.exact.link.SolverClient$SolverThread.run(Unknown Source)

I'm attaching both the jsim and the jmva model files for your inspection. I can be contacted at cosimo.anglano@unipmn.it

Thank you very much.

Discussion

  • Nobody/Anonymous

    TAR file containing the models generating the error

     
  • Giuliano Casale

    Giuliano Casale - 2007-02-10

    Logged In: YES
    user_id=1264533
    Originator: NO

    The attached model has very large multiclass populations. In this case the MVA algorithm has large computational requirements (for R classes and populations N1,N2,...,NR it is of the order of (N1+1)*(N2+1)*...*(NR+1)).

    Hence the tools try to allocate data structures which are larger than the physical memory.

    This exception should be handled with a "Insufficient Memory" exception.

     
  • Bertoli Marco

    Bertoli Marco - 2009-02-05

    Out of memory handled in version 0.7.4

     
  • Bertoli Marco

    Bertoli Marco - 2009-02-05
    • status: open --> closed
     

Log in to post a comment.

MongoDB Logo MongoDB