cloudy cloudy

Author Topic: Memory leak  (Read 4452 times)

0 Members and 1 Guest are viewing this topic.

Offline Eki

  • Posts: 299
  • Lohja, Finland
    • Virkkala Weather
Memory leak
« on: July 29, 2006, 10:14:39 AM »
Hi all!

Have you ever see this? (picture below)


First time I see this couple of days ago. I can't get nothing data from Vantage.
I try reconnect VirtualVP but it not want start. Then I close all programs and restart PC.
After that VP works fine until today at 09:45 same happened again.

VVP error log as follows;
29.7.2006 09:45:01:515 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 09:45:02:953 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 09:45:05:109 Warning- VpConsole: No response after several retries for Get Live Sensor Data
29.7.2006 09:45:06:437 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 09:45:07:656 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 09:45:09:718 Warning- VpConsole: No response after several retries for Get Live Sensor Data
29.7.2006 09:45:09:734 Error- VpConsole: Several consecutive failures of console to respond. Will try to reconnect.
29.7.2006 09:45:12:265 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 09:45:14:343 Warning- VpConsole: No response after several retries for Get Live Sensor Data
29.7.2006 09:45:17:312 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 09:45:20:593 Warning- VpConsole: No response after several retries for Get Archive Page
29.7.2006 09:45:20:609 Warning- Archive page packet failed CRC check, requesting again
29.7.2006 09:45:22:234 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 09:45:24:218 Warning- VpConsole: No response after several retries for Get Live Sensor Data
29.7.2006 09:45:24:234 Error- VpConsole: Several consecutive failures of console to respond. Will try to reconnect.
29.7.2006 09:45:25:734 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 09:45:25:859 Error- Access violation at address 00478E3F in module 'VirtualVP.exe'. Read of address 6F4370AF
29.7.2006 12:39:44:109 Error- Access violation at address 00478E3F in module 'VirtualVP.exe'. Read of address 00000059
29.7.2006 12:40:01:359 Error- Access violation at address 00478E3F in module 'VirtualVP.exe'. Read of address 00000059
29.7.2006 12:40:01:390 Info- *** End logging ***
29.7.2006 12:41:11:343 Info- *** Begin logging ***
29.7.2006 12:41:16:578 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 12:41:18:671 Warning- VpConsole: No response after several retries for Get Live Sensor Data
29.7.2006 12:41:19:875 Warning- VpConsole: No response after several retries for Wake Up Console
29.7.2006 12:41:21:859 Warning- VpConsole: No response after several retries for Get Live Sensor Data
29.7.2006 12:41:22:125 Error- Could not get initial data during FillArchive
29.7.2006 12:41:28:781 Info- *** End logging ***

As I say, I have nothing problem with VVP before this.
I don't think so this be caused by WD (10.35M) but I dowload and install newest N-version (full + zip)

Any idea? Is my PC end of life?  #-o

Thanks!
Eki

Offline drlee6530

  • Posts: 1
Re: Memory leak
« Reply #1 on: July 30, 2006, 06:40:27 PM »
I have been running VirtualVP demo now for about a 1/2 month and each time I shut it down and some times when it locks up It shows a box that says there are memory leaks in numerous modules.

I like the product but until the memory leak problem is solved I feel the product is not ready for prime time
Where any outage is not acceptable.

Dr. Lee
N5IHE

Offline Weather Display

  • Posts: 86,485
  • Davis VP2
  • New Zealand
    • Weather Display
Re: Memory leak
« Reply #2 on: July 31, 2006, 02:24:26 AM »
i would not worry about the reported memory leaks at shut down
they are likely to be only very small and of no real concern
steve has the report there only to fine tune and try and fix the worst offenders if he can
i think your concerns drlee630 are over the top (but thats just me)

Eki, do you have a usb data logger?


Offline Eki

  • Posts: 299
  • Lohja, Finland
    • Virkkala Weather
Re: Memory leak
« Reply #3 on: July 31, 2006, 10:15:13 AM »
Eki, do you have a usb data logger?

No, I have serial version (VantagePro-1)

I think so this cause is in my pc.
When I enabling my soundcard from motherboard I can expect somethink like this. I don't know why I did this once again... #-o Maybe demency, this heat wave or something.... :roll:

Once more I did clean install to my machine and now it works fine.
PC is dedicated to weather stuff and WD and other weather- and camera software are by own hard disk so this is not big deal, (once a year) unpleasant of course.


Offline SoftWx

  • Moderator
  • Posts: 832
    • SoftWx
Re: Memory leak
« Reply #4 on: August 02, 2006, 02:16:13 PM »
Most of the memory leaks shown on your screenshot are either directly caused or indirectly caused by the third party low level communications library VirtualVP uses. These leaks happen when there is an unexpected disruption of the communication between the console and VirtualVP (which can be seen in the activity log where the console is not responding to commands that are sent). I don't have enough information to be able to tell you why the communications to the console were interrupted.

The memory leaks in the third party library (which only happen when something goes wrong with the connection to the console) have been a nagging problem. Not everyone gets them, and they're more common if you have the USB datalogger since that device is known to occasionally drop connection.

I've rewritten the low level communications library with one of my own. VPLive now uses the new library, and I'm almost done plugging it into VirtualVP. The next version of VirtualVP will use the new library. This will give me more control over fixing these sorts of communication issues, and handle interruptions more gracefully without memory leaks.

Steve

Offline Weather Display

  • Posts: 86,485
  • Davis VP2
  • New Zealand
    • Weather Display
Re: Memory leak
« Reply #5 on: August 02, 2006, 07:13:47 PM »
in the FAQ on this forum I posted a link to the new drivers for the VP USB data logger that Davis recommends
feedback looks good :)

 

cumulus