MCPcopy Create free account
hub / github.com/AstroImageJ/astroimagej / getMemorySetting

Method getMemorySetting

ij/src/main/java/ij/plugin/Memory.java:113–120  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

111 }
112
113 public long getMemorySetting() {
114 if (IJ.getApplet()!=null) return 0L;
115 long max = 0L;
116
117 // As of 5.0.0.0, AIJ uses a unified file for memory settings
118 max = getMemorySetting(getFileName());
119 return max;
120 }
121
122 void showError() {
123 int max = (int)(maxMemory()/1048576L);

Callers 3

maxMemoryMethod · 0.95
runMethod · 0.95

Calls 13

getAppletMethod · 0.95
getFileNameMethod · 0.95
getHomeDirMethod · 0.95
findValueMethod · 0.95
readOptionsMethod · 0.95
errorMethod · 0.95
logMethod · 0.95
charAtMethod · 0.80
parseIntMethod · 0.80
substringMethod · 0.80
lengthMethod · 0.65
existsMethod · 0.45

Tested by

no test coverage detected