Ver Mensaje Individual
  #1 (permalink)  
Antiguo 12/07/2016, 21:08
lvinuezav
 
Fecha de Ingreso: diciembre-2007
Mensajes: 218
Antigüedad: 16 años, 5 meses
Puntos: 1
PHP exec jar no ejecuta

Estimados,
Buenas noches, una vez mas porfavor necesito de su ayuda, tengo un script el cual eecuta un jar, esta alojado en un vps, en linea de comando el java funciona ok, pero cuando ejecuto el script me da el siguiente error:

Error occurred during initialization of VM Could not allocate metaspace: 1073741824 bytes array(10) { [0]=> string(2) "OK" [1]=> string(1) "#" [2]=> string(76) "# There is insufficient memory for the Java Runtime Environment to continue." [3]=> string(81) "# Native memory allocation (malloc) failed to allocate 368 bytes for AllocateHeap" [4]=> string(57) "# An error report file with more information is saved as:" [5]=> string(56) "# /home/sisfic/public_html/fe/nucleo/hs_err_pid10143.log" [6]=> string(42) "[thread 140442350597888 also had an error]" [7]=> string(1) "#" [8]=> string(35) "# Compiler replay data is saved as:" [9]=> string(56) "# /home/sisfic/public_html/fe/nucleo/replay_pid10143.log" }

Utilice algunos parametros pero sigue igual.

$last_line = system('java -XX:-UseCompressedClassPointers -jar hola.jar',$retval);
var_dump($retval);


De antemano muchas gracias