Commit b088001a authored by Albert Astals Cid's avatar Albert Astals Cid

Increase the per request limit from ~80M to ~800M

Unless you're in greedy mode that we won't protect you from yourself :D
CCMAIL: 349863
parent 9b6e42ea
...@@ -1435,7 +1435,7 @@ void DocumentPrivate::sendGeneratorPixmapRequest() ...@@ -1435,7 +1435,7 @@ void DocumentPrivate::sendGeneratorPixmapRequest()
request = r; request = r;
} }
else if ( (long)requestRect.width() * (long)requestRect.height() > 20000000L ) else if ( (long)requestRect.width() * (long)requestRect.height() > 200000000L && (SettingsCore::memoryLevel() != SettingsCore::EnumMemoryLevel::Greedy )
{ {
m_pixmapRequestsStack.pop_back(); m_pixmapRequestsStack.pop_back();
if ( !m_warnedOutOfMemory ) if ( !m_warnedOutOfMemory )
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment