You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The code below uses PowerBuilder to execute power shell. Just want to confirm the chances of memory leak and memory lock.
As per this link https://bugs.openjdk.java.net/browse/JDK-8054841 memory leak got fixed, however do we have any details on memory lock.
I would appreciate if some one share any workaround, fix
Hi All
The code below uses PowerBuilder to execute power shell. Just want to confirm the chances of memory leak and memory lock.
As per this link https://bugs.openjdk.java.net/browse/JDK-8054841 memory leak got fixed, however do we have any details on memory lock.
I would appreciate if some one share any workaround, fix
if (OSDetector.isWindows()) {
pb = new ProcessBuilder("cmd.exe", "/c", "chcp", codePage, ">", "NUL", "&", powerShellExecutablePath,
"-ExecutionPolicy", "Bypass", "-NoExit", "-NoProfile", "-Command", "-");
} else {
pb = new ProcessBuilder(powerShellExecutablePath, "-nologo", "-noexit", "-Command", "-");
}
The text was updated successfully, but these errors were encountered: