Author Topic: Out of memory problems / Problemas de memoria insuficiente  (Read 43023 times)

Offline Maxi

  • PixInsight Addict
  • ***
  • Posts: 180
  • Barcelona / España - Spain
    • http://www.astromodelismo.es/index.htm
A mi tambien me sale como a Caliu el OUT of MEMORY , menos mal que me guarde una copia de la anterior versión, no se si sera en unos ordenadores determinados o solo nos pasa a unos cuanto con  la versión Windows x86 / 32 bits,  ::)

Saludos, Maxi
« Last Edit: 2009 November 02 08:26:31 by Pleiades »

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #1 on: 2009 November 02 08:25:26 »
Hola Maxi

Este problema —el consumo excesivo de memoria en ImageContainer— ha sido resuelto en la versión 1.5.9. Al menos, está resuelto en todas las pruebas que hemos realizado.

Por lo tanto, si sigue produciéndose, puede deberse a dos motivos:

- No hemos solucionado el problema con ImageContainer.

- El error de memoria insuficiente se produce porque durante el proceso aplicado a una imagen no hay suficiente memoria disponible, independientemente de que el trabajo se esté realizando o no con ImageContainer.

Por lo tanto, necesitaría saber varias cosas:

- El tamaño de las imágenes que estás procesando.

- El número de imágenes en ImageContainer.

- En qué momento se produce el problema, es decir cuántas imágenes puedes procesar antes de que se produzca.

- Cuánta memoria RAM libre tienes en el equipo, en el momento de ejecutar estos procesos. Escribe este comando el la consola (Processing Console):

memory

y pulsa Intro. Así verás la cantidad real de memoria que PI tiene disponible.

Gracias.
« Last Edit: 2009 November 02 08:26:53 by Pleiades »
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Maxi

  • PixInsight Addict
  • ***
  • Posts: 180
  • Barcelona / España - Spain
    • http://www.astromodelismo.es/index.htm
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #2 on: 2009 November 02 23:46:17 »
Hola Juan.

Me lo he vuelto a bajar de la pagina de descargas y lo he instalado de nuevo por si las moscas y ahora ya ni se habre me sale este mensaje:



Hasta ahora no habia tenido ningún problema con las anteriores versiones, tengo un ordenador del año pasado con el Vista Ultimate y 4 GB de RAM.

Saludos, Maxi

Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #3 on: 2009 November 03 00:03:13 »
Hola Maxi

Necesitas instalar este paquete redistribuíble de Microsoft:

Para versiones de Windows de 32 bits:
Paquete redistribuible de Microsoft Visual C++ 2008 SP1 (x86)

Para versiones de Windows de 64 bits:
Paquete redistribuible de Microsoft Visual C++ 2008 SP1 (x64)

Aparte de esto, es muy importante que mantengas tu instalación de Windows actualizada. Si no lo has hecho ya, deberías instalar Windows Vista Service Pack 2, así como todas las actualizaciones disponibles para Microsoft .NET. Normalmente éstas se descargan y actualizan automáticamente si tienes la opción correspondiente habilitada.

Por otra parte, es imprescindible desinstalar PixInsight (desde el menú inicio) antes de instalar cada nueva versión. Con Windows Vista y 7 (no con XP), es necesario reiniciar el equipo después de desinstalar y antes de instalar cada nueva versión.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline Maxi

  • PixInsight Addict
  • ***
  • Posts: 180
  • Barcelona / España - Spain
    • http://www.astromodelismo.es/index.htm
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #4 on: 2009 November 03 04:00:05 »
Hola Juan, he seguido los pasos que comentabas y ya va estupendamente.  :)

Saludos, Maxi

Offline Carlos Milovic

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2172
  • Join the dark side... we have cookies
    • http://www.astrophoto.cl
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #5 on: 2009 November 03 04:22:24 »
No puedo resistirlo... ¡qué porquería de S.O.! :D
Regards,

Carlos Milovic F.
--------------------------------
PixInsight Project Developer
http://www.pixinsight.com

Offline Fco. Bosch

  • Member
  • *
  • Posts: 66
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #6 on: 2009 November 03 07:35:16 »
Hi all; near the end of the execution of the script HDRComposition, I received the out of memory warning. Therre was two Canon images oh the size above, with the memory onthe computer of 4Gb, and "Total physical memory .......   3062.430 MB; Available physical memory ...   1543.297 MB ( 50.39%)"

Thanks


...
Full size:   4832 x 3228
Image size:  4770 x 3177
Output size: 4770 x 3177
Raw colors: 3
Filter pattern: RGGBRGGBRGGBRGGB
Daylight multipliers: 2.152106 0.923892 1.096658
Camera multipliers: 1887.000000 1086.000000 1745.000000 1086.000000

Invoking: dcraw -q 0 -k 0 -t 0 -o 0 -4
Decoding Canon EOS 50D file (4770x3177 pixels, ISO=1600, Exposure=520.00s): 100%
Loading raw image: 100%

Reading image:
D:/imágenes astronómicas/imágenes/las mejores/orion de 10-2009 bis.fit
Reading FITS: 32-bit floating point, 3 channel(s), 3410x2870 pixels: 100%
*** Warning [156]: C:/PCL/src/scripts/HDRComposition.js, line 171: assignment to undeclared variable point

PixelMath: Processing view: eagle_nebula0025
Writing swap files...
7.11 MB/s
Calculating view statistics...
Solved 1 invariant subexpression(s).
Executing PixelMath expression: combined RGB/K channels:
$T - Med(bA) + 0.05: 100%
Truncating to [0.0000000000,1.0000000000]: 100%
1.731 s

PixelMath: Processing view: orion_de_10_2009_bis
Writing swap files...
11.65 MB/s
Calculating view statistics...
Solved 1 invariant subexpression(s).
Executing PixelMath expression: combined RGB/K channels:
$T - Med(bA) + 0.05: 100%
Truncating to [0.0000000000,1.0000000000]: 100%
1.030 s
*** Error [137]: C:/PCL/src/scripts/HDRComposition.js, line 313: out of memory
------------------------------------------------------------------------------------------------------------
memory
Total physical memory .......   3062.430 MB
Available physical memory ...   1543.297 MB ( 50.39%)
Total paged memory ..........   4096.000 MB
Available paged memory ......   4096.000 MB (100.00%)
Fco. Bosch

Offline Maxi

  • PixInsight Addict
  • ***
  • Posts: 180
  • Barcelona / España - Spain
    • http://www.astromodelismo.es/index.htm
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #7 on: 2009 November 04 02:42:37 »
Y que lo digas Carlos, cuando tenga un rato y ganas, haber si pongo el Windows 7 que según lo que comentan es lo que tuvo que ser el Vista en su dia  :sad:

Saludos, Maxi

Offline Simon Hicks

  • PixInsight Old Hand
  • ****
  • Posts: 333
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #8 on: 2009 November 04 04:27:33 »
I have exactly the same set up as Bosch....I've just upgraded to 4Gb ram and done the 3GB switch thing in Vista. I was surprised that I still can't get HDRComposition to combine two raw CR2 images without coming back with the 'out of memory' error. I resaved the images to FITS and tried again....just for something to try......but got the same error.

I would really love to able to use the HDRComposition script....so any help would be massively appreciated.

Cheers
         Simon

Offline David Serrano

  • PTeam Member
  • PixInsight Guru
  • ****
  • Posts: 503
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #9 on: 2009 November 04 08:02:32 »
I seem to recall that there were plans to port the script to a native PCL module, which would have much lesser memory requirements. Tried searching for «hdrcomposition pcl», «hdrcomposition native», «hdrcomposition module» and «hdr native pcl» without success  ???
--
 David Serrano

Offline caliu

  • PixInsight Addict
  • ***
  • Posts: 210
    • http://www.caliu.fotografiaastronomica.com
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #10 on: 2009 November 04 11:59:21 »
Este fin de semana pasado procesé unos 375 raws de la 5D Mark II, a 21 Gb cada archivo, de golpe, aplicando un ProcessContainer que consistia en 2 transformaciones de histograma y un ajuste de curvas a un Image Container de 375 fotos, ningún problema por el momento, los cuadros de la 5DMk2 miden 5634 x 3753 px, no he probado wavelets, pero creo que el mismo ordenador no podrá soportarlo por muy corregido que esté el bug.

Edito, el ProcessContainer ademas de los dos ajustes de histograma y de curvas también tenía un IntegerResample (:2) y un Resample manual a 1920 x 1283, después pasé un Batch Format Conversion a .jpg y también sin problemas.

Offline xatamec

  • Member
  • *
  • Posts: 52
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #11 on: 2009 December 01 08:51:48 »
Hola,

Pues yo tengo el problema de memoria cuando utilizo el script HDR Composition, tanto en Windows XP como en Vista de 32bits, con un ordenador dual core con 2Gb de RAM y PixInsight 1.5.9, a pesar de haber actualizado los SO con los últimos SP disponibles y de haber instalado el paquete redistribuible de Visual C++ que recomienda Juan.

Saludos,
Sergi

Offline C. Sonnenstein

  • PixInsight Addict
  • ***
  • Posts: 262
    • http://astrosurf.com/astro35mm
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #12 on: 2009 December 01 13:16:39 »
All you need is a lot of RAM. Juan always recomended a minimum of 8 GB of RAM, or 16 better.
Carlos Sonnenstein

Offline Simon Hicks

  • PixInsight Old Hand
  • ****
  • Posts: 333
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #13 on: 2009 December 01 17:59:52 »
Even when doing an HDRComposition of only two images? Surely 4Gb is enough for that?

Offline georg.viehoever

  • PTeam Member
  • PixInsight Jedi Master
  • ******
  • Posts: 2132
Re: Out of memory problems / Problemas de memoria insuficiente
« Reply #14 on: 2009 December 01 23:48:45 »
Hi,

this is also what is worrying me: Sometimes it seems that an image that should consume something like 50 MBytes at most (full Canon CR2 RGB converted to float) causes an out of memory despite the fact that Windows still reports 500 MBytes available. This should not happen. But it still does happen after upgrading from 2 GBytes RAM to 3 GBytes, although less frequently. Either PI or Windows are playing us bad tricks here.

Georg
Georg (6 inch Newton, unmodified Canon EOS40D+80D, unguided EQ5 mount)