Author Topic: Invalid Memory Read Errors--PLEASE Respond!!!  (Read 2875 times)

Offline rdryfoos

  • PixInsight Old Hand
  • ****
  • Posts: 377
Invalid Memory Read Errors--PLEASE Respond!!!
« on: 2016 January 22 11:52:21 »
Please--someone must know what the memory error that pops up means--it prevents me from using DBE.  See my post called "Invalid Memory Errors"

Offline gvanhau

  • PixInsight Old Hand
  • ****
  • Posts: 345
Re: Invalid Memory Read Errors--PLEASE Respond!!!
« Reply #1 on: 2016 January 26 11:26:05 »
Hello

Are you using the latest PixInsight version?
In previuos versions, some proceses caused invalid memory access (to some users including me), but I've not experienced this in the latests build.
I also read somewhere in the forum about an incompatibility with some DELL computer utilities, but no sure if this is your case.

Geert
Geert Vanhauwaert

Offline astroccd1962

  • Newcomer
  • Posts: 6
Re: Invalid Memory Read Errors--PLEASE Respond!!!
« Reply #2 on: 2016 January 26 15:48:59 »

It sounds like you are running out of memory or possibly TEMP / TMP space.

1. Check TEMP/TMP Environment Variable location and then the Free Drive Space

Right click Computer, select properties and then Advanced System Settings.  Click on Environment variables.  Look through both your User1 and System variables for TEMP and TMP.  This should by default point to something like: %USERPROFILE%\AppData\Local\Temp which 99% of the time is the C drive.  Make sure drive C has a large amount of free space on it otherwise change the location to another drive with a lot of freespace creating the directories if required.


2. Monitor Memory Usage:

Start your Windows Task Manager (CTRL-ALT-DEL assuming you are using windows) and then click on the Processes tab and click on the Memory column until the process using the most amount of memory is at the top.  At the bottom of this window should also be something that says Physical Memory in %.

If the image name (PixInsight) starts to get close to peaking the max memory you have on your computer this may be the issue or the drive where TEMP/TMP is pointing to is starting to run low or out of drive space.

I have been trying to process multiple large format images and I have no issue calibrating them but once I get to the registration part then I see the memory peak and errors start showing up causing the process to fail.  Possibly it sounds like something similar.

I as assuming you have at least 8GB to 16GB of memory in your machine.

- Keith


Offline Juan Conejero

  • PTeam Member
  • PixInsight Jedi Grand Master
  • ********
  • Posts: 7111
    • http://pixinsight.com/
Re: Invalid Memory Read Errors--PLEASE Respond!!!
« Reply #3 on: 2016 January 27 03:56:35 »
Sorry for the late response - unfortunately I overlooked your post and the original question for some reason.

When they are not caused by a bug (and IMO we can discard that possibility in this case because the problem is not reproducible), memory access violations like these are almost always caused by failing memory modules. Another possibility is an interaction with another process running as a background task (such as a virus), but this is very unlikely.

I'd recommend running an exhaustive memory test on the machine where this happens.
Juan Conejero
PixInsight Development Team
http://pixinsight.com/

Offline rdryfoos

  • PixInsight Old Hand
  • ****
  • Posts: 377
Re: Invalid Memory Read Errors--PLEASE Respond!!!
« Reply #4 on: 2016 January 27 06:41:54 »

It sounds like you are running out of memory or possibly TEMP / TMP space.

1. Check TEMP/TMP Environment Variable location and then the Free Drive Space

Right click Computer, select properties and then Advanced System Settings.  Click on Environment variables.  Look through both your User1 and System variables for TEMP and TMP.  This should by default point to something like: %USERPROFILE%\AppData\Local\Temp which 99% of the time is the C drive.  Make sure drive C has a large amount of free space on it otherwise change the location to another drive with a lot of freespace creating the directories if required.


2. Monitor Memory Usage:

Start your Windows Task Manager (CTRL-ALT-DEL assuming you are using windows) and then click on the Processes tab and click on the Memory column until the process using the most amount of memory is at the top.  At the bottom of this window should also be something that says Physical Memory in %.

If the image name (PixInsight) starts to get close to peaking the max memory you have on your computer this may be the issue or the drive where TEMP/TMP is pointing to is starting to run low or out of drive space.

I have been trying to process multiple large format images and I have no issue calibrating them but once I get to the registration part then I see the memory peak and errors start showing up causing the process to fail.  Possibly it sounds like something similar.

I as assuming you have at least 8GB to 16GB of memory in your machine.

- Keith

Do you mean RAM memory or hard drive memory? I have a 500 GB SSDR hard drive and I believe 16GB RAM--(a Lenovo Yoga)

Offline astroccd1962

  • Newcomer
  • Posts: 6
Re: Invalid Memory Read Errors--PLEASE Respond!!!
« Reply #5 on: 2016 January 27 10:10:42 »
I was referring to RAM...

I was having issues with PI running out of memory too but at the time my TEMP space (drive for swapping) was low on space and was on the system drive. 

The images I was loaded were really large and together exceeded the amount of RAM on the computer by 2 to 4 fold.

:)

- Keith