ADS hangs after placing laptop(win 10 pro) in hibernate.

by Nov 4, 2016

I like to leave ADS open when leaving client’s office, I just place laptop in hibernate, For some reason ADS hangs when laptop is brought out of hibernation.

For example, This past Friday night I placed laptop in hibernate around 8:30pm and left clients office.

Over the weekend I brought laptop out of hibernate multiple times but didn’t access window with ADS.

Today(Monday 12/5), At clients office I bring laptop out of hibernation and access ADS but it is hung and I end up having to terminate it with Process Explorer, My guess from looking at the log is that ADS kept trying to connect over the weekend when I wasn’t connected to my client’s network.

Log(datastudio.log) is attached.

tia,

Billy

Response

Niels Gron over 6 years ago
Your logs show that you are running out of memory, which would create the symptoms you are describing. You fix this by increasing the memory capacity. Here are the docs :

https://www.aquaclusters.com/app/home/project/public/aquadatastudio/wikibook/Documentation17/page/50/Launcher-Memory-Configuration

Billy Rowe over 6 years ago
I did a test to see if I could tell what is happening, normally ADS mem usage is like this(157:407:910).

Last Thursday when I left a clients, I left ADS open, Friday thru Saturday I kept checking memory usage which was close to above value and before I left the window I would “Run Garbage collector” and then I didn’t look again until Sunday night, ADS wouldn’t let me exit/close and ended up having to kill with process explorer.

Memory usage had reached: 710:827:910

With same error found in log:

12/11 03:12:40.685 W⢎ꆪ⢷ꂧ7goto.v uncaught exception
java.lang.OutOfMemoryError: Java heap space

My guess is that ADS is trying to connect maybe to last server?? What would make jvm run out of memory when it’s not connected?

Tia

Niels Gron over 6 years ago
If your OS is in hibernate mode, then ADS should not do anything. The Java heap exception you are getting is coming from teh Java AWT library when trying to create an image. What version of ADS & Java do you have in Help->Support Information, and what video driver vendor/version/build date do you have if you run “dxdiag” in Windows? That might shed some light on whether it is related to Java or the video driver.

Billy Rowe over 6 years ago
OS: Windows 10 Pro

Product: Aqua Data Studio
Version: 17.0.10
Build #: 51450
Build Date: 2016-Oct-11 04:23:02 PM

Operating Environment: Windows 8 (6.2, amd64) / Cp1252 / en / US / Oracle Corporation 1.8.0_40-b26
Memory: Max=954,728,448; Total=466,092,032; Free=267,691,128; CPUs=4

DXDIAG:

Card name: Intel(R) Iris(TM) Graphics 540
Manufacturer: Intel Corporation
Chip type: Intel(R) Iris(TM) Graphics Family
DAC type: Internal
Device Type: Full Device
Device Key: Enum\PCI\VEN_8086&DEV_1926&SUBSYS_8174103C&REV_0A
Device Status: 0180200A [DN_DRIVER_LOADED|DN_STARTED|DN_DISABLEABLE|DN_NT_ENUMERATOR|DN_NT_DRIVER]
Device Problem Code: No Problem
Driver Problem Code: Unknown
Display Memory: 8258 MB
Dedicated Memory: 128 MB
Shared Memory: 8130 MB
Current Mode: 1920 x 1080 (32 bit) (60Hz)
Monitor Name: Generic PnP Monitor
Monitor Model: unknown
Monitor Id: LGD04E0
Native Mode: 3840 x 2160(p) (60.006Hz)
Output Type: Internal
Driver Name: igdumdim64.dll,igd10iumd64.dll,igd10iumd64.dll,igd12umd64.dll
Driver File Version: 20.19.0015.4377 (English)
Driver Version: 20.19.15.4377
DDI Version: 12
Feature Levels: 11_1,11_0,10_1,10_0,9_3,9_2,9_1
Driver Model: WDDM 2.0

Niels Gron over 6 years ago
Your ADS and Java version look ok.

You DxDiag information didn’t include “Driver Date/Size” … can you provide that?
Can you also provide total physical memory of your machine?
Can you also tell us what feature of ADS you have open when you try to restore out of hibernation? Query Window with Charts? Visual Analytics?

Billy Rowe over 6 years ago
Driver date/size:
Driver Date/Size: 1/24/2016 6:00:00 PM, 32155568 bytes

I have open Tree Panels, Query windows and query results, I haven’t used the charts/analytics, not yet anyway…….

The attached image shows the open windows.

tia

Niels Gron over 6 years ago

Your driver is about 1 year old. But the version indicates 20.19.15.237. The latest Intel driver for your Intel Iris Graphics 540 card is version 15.45.10.4542 released on 11/9/2016. So, I am not sure what driver you are using or from what vendor the driver is from. So, your driver does seem suspect.

https://downloadcenter.intel.com/product/88358/Intel-Iris-Graphics-540

The only other thing that crosses my mind is memory page swaping. If your physical memory and available physical memory while coming out of hibernation is low, then there may be some page swatching to get ADS back into memory.

-Niels