ImageResizer - 免费版的OutOfMemoryException

时间:2018-01-20 00:14:17

标签: c# imageresizer

我在Asp.net应用程序中使用ImageResizer,我不时会看到OutOfMemoryException。 C#代码非常简单:

var instruction = new Instructions { Width = width, 
                                     Height = height, 
                                     Format = null, 
                                     Mode = FitMode.Max }
(new ImageJob(source, destination, instruction)).Build();

计算机内存仅使用10%,我在监视工具中看不到内存问题。这是调试日志的一部分:

 Diagnostics for ImageResizer 4.1.10 ab91afb7 at  generated 1/20/2018 12:02:11 AM
Please remember to provide this page when contacting support.

You are using ImageResizer Essential Edition plugins.

2 issues detected:

(Warning):  To potentially see additional errors here, perform an image resize request.


(Warning):  NoCache is only for development usage, and cannot scale to production use.
            Add DiskCache or CloudFront for production use

.....                        

When fetching a remote license file (if you have one), the following information is sent via the querystring.

我看到了行When fetching a remote license file (if you have one), the following information。也许我需要升级到企业版?

0 个答案:

没有答案