Business
Jobs
  • About Us
  • Solutions
    • Job Postings
      Post your job and receive qualified candidates in 48h.
    • Candidate Assessments
      500+ technical and psychological tests, plus anti-fraud.
    • Headhunting
      Tailor-made executive search from start to finish.
    • Payroll + EOR
      Payroll dispersal and EOR across 15+ LATAM countries.
  • Pricing
  • Jobs

0

219
Views
No se pudo reservar espacio de almacenamiento dinámico

Estoy usando jabón ui 5.0.0 de código abierto. Estoy ejecutando casos de prueba de soapui a través de ant para obtener el informe de Junit

construir.xml:

 <project basedir="." default="testreport" name="FCMRestAPIAutomation"> <target name="SoapUI"> <exec dir="." executable="C:\Program Files (x86)\SmartBear\SoapUI-5.0.0\bin\testrunner.bat"> <arg line="-r -j -o -f 'C:\Users\sn3020722\Desktop\Notification\New folder' -sFirstLoginTest 'C:\Users\sn3020722\Desktop\Notification\New folder\FCM Project.xml'"></arg> </exec> </target> <target name="testreport" depends="SoapUI"> <junitreport todir="C:\Users\sn3020722\Desktop\Notification\New folder\API"> <fileset dir="C:\Users\sn3020722\Desktop\Notification\New folder\API"> <include name="TEST-*.xml"/> </fileset> <report format="frames" todir="C:\Users\sn3020722\Desktop\Notification\New folder\reports\html"> </report> </junitreport> </target> </project>

Error en el símbolo del sistema:

 SoapUI: [exec] Error: Could not create the Java Virtual Machine. [exec] Error occurred during initialization of VMError: A fatal exception h as occurred. Program will exit. [exec] [exec] Could not reserve enough space for object heap [exec] Result: 1 testreport: [junitreport] Processing C:\Users\sn3020722\Desktop\Notification\New folder\API\TESTS-TestSuites.xml to C:\Users\sn3020722\AppData\Local\Temp\null913190532 [junitreport] Loading stylesheet jar:file:/D:/eclipse/plugins/org.apache.ant_1.8 .3.v201301120609/lib/ant-junit.jar!/org/apache/tools/ant/taskdefs/optional/junit /xsl/junit-frames.xsl [junitreport] Transform time: 312ms [junitreport] Deleting: C:\Users\sn20722\AppData\Local\Temp\null913190532

He agregado lo siguiente en las variables de entorno del sistema.

 _JAVA_OPTIONS: -Xmx2048MB

Pero todavía me enfrento a otro problema de que Soapui en sí no se abre con el espacio asignado. ¿Alguna sugerencia para resolver el problema del espacio?

about 4 years ago · Santiago Trujillo
1 answers
Answer question

0

Después de descargar el paquete SoapUI 5.0.0 para Windows, descubrí que en el archivo testrunner.bat hay una configuración en la línea 31:

 set JAVA_OPTS=-Xms128m -Xmx1024m -Dsoapui.properties=soapui.properties "-Dsoapui.home=%SOAPUI_HOME%\"

Como puede ver, el parámetro de memoria máxima se establece en 1024m (-Xmx1024m). ¿Puedes cambiarlo en tu archivo a 2048m e intentarlo de nuevo?

about 4 years ago · Santiago Trujillo Report
Answer question
Find remote jobs

Discover the new way to find a job!

Top jobs
Top job categories
Business
Post vacancy Pricing Sales
Legal
Terms and conditions Privacy policy
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Show me some job opportunities
There's an error!