Loading and Saving Presentation Files in C++ Takes 3 Minutes and an Error Occurs

I encountered two problems

The first question

System ubuntu20.04

Aspose library version 23.08

I use the C++aspose library on my local computer. The two steps of only opening and saving files will take 3 minutes. Saving on another machine will take 30 seconds.

The second question

System ubuntu20.04

Aspose library version 23.08

Only opening and saving files will result in an error, Only opening and saving files will result in an error, which currently only occurs on cloud servers

terminate called after throwing an instance of 'std::logic_error'
  what():  basic_string::_M_construct null not valid
Aborted

my code

auto presentation = System::MakeObject<Presentation>(path);
presentation->Save(output_path, SaveFormat::Pptx);

@linkdome,
Thank you for contacting support.

We need more details. Please share the following files and information:

  • sample presentation files
  • sample project that reproduces the problem
  • hardware description (CPU, RAM)
  • any additional information

Please share the following files and information:

  • sample presentation files
  • OS version on your Cloud servers