Re: Andor's Trail Content Studio [ATCS] - Win/Mac/Linux Content Editor
Posted: Wed Jan 10, 2024 5:59 pm
So yeah, in the WINDOWS virtual machine, if I use either jdk 21 or jdk 17 (from https://www.oracle.com/java/technologie ... 17-windows), I am unable to reach the GUI, and I get the same error in the previous post. But I AM able to reach the GUI in the virtual machine by using java version 8 update 391 (build 1.8.0_391-b13), which I think is bundled with the operating system itself. However, I get the memory and java heap errors if I try to click on spritesheets at least.
This is the .env.bat file.
These are the memory settings that windows claims to have in the "System Information" GUI.
Code: Select all
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferByte.<init>(Unknown Source)
at java.awt.image.ComponentSampleModel.createDataBuffer(Unknown Source)
at java.awt.image.Raster.createWritableRaster(Unknown Source)
at javax.imageio.ImageTypeSpecifier.createBufferedImage(Unknown Source)
at javax.imageio.ImageReader.getDestination(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.readImage(Unknown Source)
at com.sun.imageio.plugins.png.PNGImageReader.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at javax.imageio.ImageIO.read(Unknown Source)
at com.gpl.rpg.atcontentstudio.model.sprites.Spritesheet.getImage(Spritesheet.java:146)
at com.gpl.rpg.atcontentstudio.model.sprites.Spritesheet.getIcon(Spritesheet.java:176)
at com.gpl.rpg.atcontentstudio.model.sprites.Spritesheet.getIcon(Spritesheet.java:191)
at com.gpl.rpg.atcontentstudio.model.sprites.Spritesheet.getLeafIcon(Spritesheet.java:195)
at com.gpl.rpg.atcontentstudio.ui.ProjectsTree$ProjectsTreeCellRenderer.getTreeCellRendererComponent(ProjectsTree.java:689)
at javax.swing.plaf.basic.BasicTreeUI$NodeDimensionsHandler.getNodeDimensions(Unknown Source)
at javax.swing.tree.AbstractLayoutCache.getNodeDimensions(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.updatePreferredSize(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache$TreeStateNode.expand(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache.ensurePathIsExpanded(Unknown Source)
at javax.swing.tree.VariableHeightLayoutCache.setExpandedState(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpanded(Unknown Source)
at javax.swing.JTree.fireTreeExpanded(Unknown Source)
at javax.swing.JTree.setExpandedState(Unknown Source)
at javax.swing.JTree.expandPath(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI.toggleExpandState(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI.selectPathForEvent(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Handler.handleSelection(Unknown Source)
at javax.swing.plaf.basic.BasicTreeUI$Handler.mousePressed(Unknown Source)
at java.awt.AWTEventMulticaster.mousePressed(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
Code: Select all
C:\Program Files (x86)\ATCS\ATCS.env.bat
REM set "MAX_MEM=2000M"
REM set "JAVA=java.exe"
REM set "JAVA_OPTS="
Code: Select all
Installed Physical Memory (RAM) 5.86 GB
Total Physical Memory 5.86 GB
Available Physical Memory 3.24 GB
Total Virtual Memory 6.80 GB
Available Virtual Memory 4.52 GB
Page File Space 960 MB
Page File C:\pagefile.sys