We're seeing the Low Memory error popping up now, whereas we didn't have it before the last update. We're using VS .Net 2003, so when you corrected it for 2008 that might've caused a problem.
We would really like to use the new Curve-Arc so if you could fix this very quickly it would be much appreciated.
Page 1 of 1
Low Memory Back!
#2
Posted 13 March 2008 - 08:34 AM
You are using the following VB6 code to check the memory:
Can you please see where is the problem?
Thanks
Private Declare Sub GlobalMemoryStatus Lib "kernel32" (lpBuffer As MEMORYSTATUS) Private Type MEMORYSTATUS dwLength As Long dwMemoryLoad As Long dwTotalPhys As Long dwAvailPhys As Long dwTotalPageFile As Long dwAvailPageFile As Long dwTotalVirtual As Long dwAvailVirtual As Long End Type Private Sub Form_Load() Call CheckMemory End Sub Private Function CheckMemory() As Boolean Dim memInfo As MEMORYSTATUS Dim lKbytes As Long Static OneTime As Integer Call GlobalMemoryStatus(memInfo) lKbytes = memInfo.dwAvailPhys / 1024 If lKbytes < 10000 And lKbytes > 0 Then CheckMemory = True If OneTime = 0 Then MsgBox "Low memory...", vbCritical, App.ProductName OneTime = 1 End If End If End Function
Can you please see where is the problem?
Thanks
Athanasios Gardos
Avax-Software.com
Avax-Software.com
#3
Posted 14 March 2008 - 08:52 PM
I will see what we can do. We had already rolled-back to the previous version though so this may take a couple days.
Athanasios Gardos, on Mar 13 2008, 04:34 AM, said:
You are using the following VB6 code to check the memory:
Can you please see where is the problem?
Thanks
Private Declare Sub GlobalMemoryStatus Lib "kernel32" (lpBuffer As MEMORYSTATUS) Private Type MEMORYSTATUS dwLength As Long dwMemoryLoad As Long dwTotalPhys As Long dwAvailPhys As Long dwTotalPageFile As Long dwAvailPageFile As Long dwTotalVirtual As Long dwAvailVirtual As Long End Type Private Sub Form_Load() Call CheckMemory End Sub Private Function CheckMemory() As Boolean Dim memInfo As MEMORYSTATUS Dim lKbytes As Long Static OneTime As Integer Call GlobalMemoryStatus(memInfo) lKbytes = memInfo.dwAvailPhys / 1024 If lKbytes < 10000 And lKbytes > 0 Then CheckMemory = True If OneTime = 0 Then MsgBox "Low memory...", vbCritical, App.ProductName OneTime = 1 End If End If End Function
Can you please see where is the problem?
Thanks
#4
Posted 18 March 2008 - 11:50 PM
We are still working to replicate the error with that code in place so we can give you more information. Since all of our programming machines have very large amounts of memory, we have not been able to get the error to appear for us at all so we have to have the clients run the one with the error and have them report the information back.
We have no reports of the error occuring after rolling-back to the previous version of Avax, so we are fairly certain the problem is confined to the newest version.
Users reported that it does not appear to happen on just form load. Users have also reported it to appear when they are not even using the program and it is sitting idle. Also it has appeared when drawing items. The one time we were able to replicate the error in house actually occurred during our compile of the program in which we use the Avax control.
We have no reports of the error occuring after rolling-back to the previous version of Avax, so we are fairly certain the problem is confined to the newest version.
Users reported that it does not appear to happen on just form load. Users have also reported it to appear when they are not even using the program and it is sitting idle. Also it has appeared when drawing items. The one time we were able to replicate the error in house actually occurred during our compile of the program in which we use the Avax control.
Page 1 of 1
Sign In
Register
Help
Add Reply
MultiQuote