Crash on Export - png files?
-
@DanH said in Crash on Export - png files?:
about 30kb each
Is this the size in HISE or the size on disk?
-
@d-healey I don't know what the size in Hise is... that's the file size on disk. How do I find out about Hise? I haven't compressed them at all - OSX may have though...
-
@DanH said in Crash on Export - png files?:
I haven't compressed them at all - OSX may have though...
Compression makes no difference. Once loaded into memory they expand to full bitmap size - search the forum for more info on that.
You can see their memory usage in HISE in the pool table. You'll need to add a floating window or custom popup and add a pool table to it to see this.
@Christoph-Hart I think this should be a default window available from the view menu probably. Along with others like the server controller, etc.
-
@d-healey Yup I know about the compression thing.
Can't see a pool table in the floating tile options. How can I configure the custom pop up? I made a module browser before, can't remember how though!
-
@DanH oh found it! some of my knob filmstrips are 5000 kb, but the images I'm using are all about 344 kb.
-
@DanH Does the total come to more than 50mb?
-
@d-healey 234 mb!
-
@d-healey I don't need and am not using them all though. I figured Hise only includes the images that are actually used in the project, but perhaps I'm wrong about that!
-
@DanH said in Crash on Export - png files?:
I figured Hise only includes the images that are actually used in the project, but perhaps I'm wrong about that!
If you've added it to the pool then it will be included in the plugin. With that size of images you should probably use a separate file rather than embedding them in the plugin.
https://docs.hise.audio/working-with-hise/settings/project.html#embed-image-files
-
@d-healey said in Crash on Export - png files?:
https://docs.hise.audio/working-with-hise/settings/project.html#embed-image-files
nice, good to know. I'll see what I can do to reduce the load!! Thanks :)
-
@DanH said in Crash on Export - png files?:
@Lindon osx screenshot
yep suspicious of this - use gimp and export as png
-
@d-healey so I've got the images file sizes down as much as I can... It's 95mb in Hise. My other projects have similar image sizes and export fine, so I gave it a go and boom, crashed like before.
So I unchecked Imbed Images and it still crashes like before... So perhaps it's something else?!
report:
3 HISE LFO EQ 0x101c98717 juce::pnglibNamespace::png_default_error(juce::pnglibNamespace::png_struct_def const*, char const*) + 55 4 HISE LFO EQ 0x101c96f2f juce::pnglibNamespace::png_err(juce::pnglibNamespace::png_struct_def const*) + 31 5 HISE LFO EQ 0x101c92d97 juce::PNGImageFormat::writeImageToStream(juce::Image const&, juce::OutputStream&) + 10039
-
So the crash happens before it compiles?
-
@d-healey yep, a few seconds after hitting export, before it asks about batch compile or anything.
I'll do some debugging in the morning and reprocess the pngs
-
@DanH said in Crash on Export - png files?:
yep, a few seconds after hitting export, before it asks about batch compile or anything.
Possibly nothing to do with your images then. Try removing them all and see what happens
-
@d-healey it was this line
Engine.loadImageIntoPool("*");
Which I was commenting out but Hise needed to be restarted before the change would take effect.
Thanks for the help :)