Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, November 19, 2015 3:03:09 PM(UTC)

Amin  
Amin

Groups: Manager, Tech Support
Posts: 367

Was thanked: 1 time(s) in 1 post(s)

The attached WPF project uses version 19 of LEADTOOLS to create and display a huge image.
The image dimensions are 8,000 x 8,000 pixels, which means at 32 bits per pixel it requires approximately one quarter GB of RAM.

Testing on a computer with 4GB of RAM, executing the "Show image" command took approximately 1.5 seconds when most of the memory was free. However, when loading and running numerous applications that used up most of the computer's memory, the same command took more than 19 seconds.
When the extra applications were closed and their memory freed, the image creation and display became fast again without rebooting the computer.

A plausible explanation is that when Windows cannot allocate a sufficiently large contiguous block of memory to hold the entire image, virtual memory is employed and swapping to disk takes place. This can greatly affect performance during memory-intensive operations, and is neither a limitation of LEADTOOLS nor of WPF itself.
File Attachment(s):
ShowLargeImage.zip (10kb) downloaded 129 time(s).
Amin Dodin

Senior Support Engineer
LEAD Technologies, Inc.
LEAD Logo
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2024, Yet Another Forum.NET
This page was generated in 0.035 seconds.