ly0738

Hi
http://esotericsoftware.com/forum/Spine-Export-is-too-Long-15406
As shown in the link, I updated and exported the latest beta, and it worked out so well!
(It's gotten much faster.. :D :D :D :D )
And I am greedy, export with rotate' option.
then
Spine Launcher 4.0.20
Esoteric Software LLC (C) 2013-2020 | http://esotericsoftware.com
Windows 10 Pro amd64 10.0
NVIDIA Corporation, GeForce GTX 1050/PCIe/SSE2, 4.6.0 NVIDIA 456.71
Starting: Spine 4.0.54-beta Professional
Spine 4.0.54-beta Professional
Licensed to: *****, *****
Started.
OpenAL 1.1, Default audio device
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Packing...
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-2.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-3.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-4.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-5.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-6.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-7.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-8.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-9.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-10.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-11.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-12.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-13.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-14.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-15.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-16.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-17.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-18.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-19.png
Writing 2048x2048: E:\spine\01_character\01_base_character\c41\unity_export\c41-20.png
Packing...
Automatic backup complete.
Packing...
Packing...
Packing...
Packing...
Packing...
WARNING: Extremely slow file system access: E:/spine/01_character/01_base_character/c41/./images
WARNING: Memory usage:
Available / max: 772.1 kB / 2.1 GB (0.0%)
Allocated / max: 2.1 GB / 2.1 GB (100.0%)
Used / allocated: 2.1 GB / 2.1 GB (100.0%)
WARNING: Memory usage:
Available / max: 2.4 MB / 2.1 GB (0.1%)
Allocated / max: 2.1 GB / 2.1 GB (100.0%)
Used / allocated: 2.1 GB / 2.1 GB (99.9%)
ERROR: Error handling error:
[error]
at s.HyN.Z(_:243)
at s.fpM._(_:595)
at s.fpM.<init>(_:428)
at s.BfP.F(_:121)
at s.xgL._(_:37)
at s.FQR._(_:76)
at s.FQR._(_:40)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.Thread.dispatchUncaughtException(Unknown Source)
WARNING: Memory usage:
Available / max: 947.8 kB / 2.1 GB (0.0%)
Allocated / max: 2.1 GB / 2.1 GB (100.0%)
Used / allocated: 2.1 GB / 2.1 GB (100.0%)
ERROR: Error handling error:
[error]
at s.HyN.Z(_:243)
at s.fpM._(_:595)
at s.fpM.<init>(_:428)
at s.BfP.F(_:121)
at s.xgL._(_:37)
at s.FQR._(_:76)
at s.FQR._(_:40)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.Thread.dispatchUncaughtException(Unknown Source)
ERROR: Error handling error:
[error]
at s.HyN.Z(_:243)
at s.fpM._(_:595)
at s.fpM.<init>(_:428)
at s.BfP.F(_:121)
at s.xgL._(_:37)
at s.FQR._(_:76)
at s.FQR._(_:40)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.ThreadGroup.uncaughtException(Unknown Source)
at java.lang.Thread.dispatchUncaughtException(Unknown Source)
ERROR: An unexpected error has occurred:
[OutOfMemoryError] Java heap space
at java.util.ArrayList.<init>(Unknown Source)
at s.Kfq._(_:113)
at s.Kfq._(_:286)
at s.bOy._(_:423)
at s.TkJ._(_:116)
at s.fnk._(_:483)
at s.fnk._(_:460)
at 0x00000001006ad440.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
That's error look's like memory is not enough.
so, can I increase memory when exporting?
ly0738
  • Сообщения: 11

Nate

That's strange. It looks like a memory leak, as Spine should not use up so much memory during packing. Is it possible to provide your images and Spine project so we can see the problem? contact@esotericsoftware.com We will keep them private.

If there is a memory leak we would prefer fixing the problem, but you can increase the amount of memory that Spine can access by running Spine from the command line like this:
spine -Xmx5000m
That would allow Spine to access up to 5,000 megabytes (5GB) of RAM.

---

Note if you are packing all images in the images folder, you'll want to avoid exporting to the images folder, else the next packing will pack all the images plus the previously exported images.
Аватара пользователя
Nate

Nate
  • Сообщения: 10740

ly0738

thank you!
plz check my email
ly0738
  • Сообщения: 11

Nate

Sorry it took so long! It should be working well in 4.0.56-beta. We didn't see out of memory problems, only that some meshes were getting cut off. We also fixed a number of other problems and improved the polygon packer speed a little. It still takes a couple minutes for your 1500 mesh images, but it does a good job fitting them into the smallest space. Using the Fast setting is ~3x faster, but doesn't pack quite as tightly.
Аватара пользователя
Nate

Nate
  • Сообщения: 10740


Вернуться в Editor