Exception in thread "AWT-EventQueue-0": java.lang.OutOfMemoryError: Required array size too large
12 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Kasun Prabhath Gode Withanage
el 5 de Feb. de 2021
Respondida: Srivardhan Gadila
el 8 de Feb. de 2021
im tring to open a .hdf5 which is 3.75GB file. but flowing error is occuring when im opening it. I have increase the java heap memory upto 4GB as well. but it will give me the same error.( My RAM is 16GB there for they only allow jaya heap memory upto 4GB)
Looking for help.
Exception in thread "AWT-EventQueue-0": java.lang.OutOfMemoryError: Required array size too large
at java.nio.file.Files.readAllBytes(Files.java:3156)
at com.mathworks.services.SystemServices.detectCharset(SystemServices.java:61)
at com.mathworks.widgets.SyntaxTextPaneUtilities.getDefaultFileEncoding(SyntaxTextPaneUtilities.java:424)
at com.mathworks.widgets.datamodel.TextFileBackingStore.createWithExistentBackingFile(TextFileBackingStore.java:94)
at com.mathworks.mde.editor.MatlabEditorApplication.createEditorViewClientFromExistingFile(MatlabEditorApplication.java:682)
at com.mathworks.mde.editor.MatlabEditorApplication.access$300(MatlabEditorApplication.java:77)
at com.mathworks.mde.editor.MatlabEditorApplication$4.runWithOutput(MatlabEditorApplication.java:406)
at com.mathworks.jmi.AWTUtilities$Invoker$2.watchedRun(AWTUtilities.java:475)
at com.mathworks.jmi.AWTUtilities$WatchedRunnable.run(AWTUtilities.java:436)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
at java.awt.EventQueue.access$500(EventQueue.java:97)
at java.awt.EventQueue$3.run(EventQueue.java:709)
at java.awt.EventQueue$3.run(EventQueue.java:703)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:728)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Respuestas (1)
Srivardhan Gadila
el 8 de Feb. de 2021
The following resources may help you to get more information on the "Required array size too large" error : Resolve “Out of Memory” Errors & Out of memory while executing large matrix sizes.
0 comentarios
Ver también
Categorías
Más información sobre HDF5 en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!