Abrir archivos binarios de tamaño de 50 megas con Perl
Publicado: 2014-05-02 11:49 @534
¿Qué tal, amigos del foro...?
Tengo un script en Perl que procesa un archivo en formato binario, el cual no tiene problemas, hasta que existan archivos de tamaño mayor a 10 Megas.
En UNIX me sale el siguiente mensaje "".
Pero en el servidor sí tengo RAM suficiente y también espacio en disco.
La sentencia que tengo es la siguiente read(FILE, $buffer,200000000);
No sé si es una limitación que el archivo sea de mayor a 10 megas.
Les agradecería sus comentarios.
Tengo un script en Perl que procesa un archivo en formato binario, el cual no tiene problemas, hasta que existan archivos de tamaño mayor a 10 Megas.
En UNIX me sale el siguiente mensaje "".
Using text Syntax Highlighting
Out of memory!
Out of memory!
Pid 6864 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxrsessiz
or stack size limit is set too small.
Memory fault(coredump)
Out of memory!
Pid 6864 received a SIGSEGV for stack growth failure.
Possible causes: insufficient memory or swap space,
or stack size exceeded maxrsessiz
or stack size limit is set too small.
Memory fault(coredump)
Coloreado en 0.000 segundos, usando GeSHi 1.0.8.4
Pero en el servidor sí tengo RAM suficiente y también espacio en disco.
La sentencia que tengo es la siguiente read(FILE, $buffer,200000000);
No sé si es una limitación que el archivo sea de mayor a 10 megas.
Les agradecería sus comentarios.