NopCommerce 4.1 Running Slow

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
5 years ago
Hi,

We have installed a new instance of NopCommerce 4.1 and it seems to be running very slow. Is anyone else having any other issues?

We have a couple of sites running 3.9 and 4.0 on the same server and they are running fast.

Regards,

John
5 years ago
There was active discussion on this. You will get a hint from the post https://www.nopcommerce.com/boards/t/54986/nopcommerce-410-high-memory-usage-and-how-weve-handled-it.aspx
5 years ago
I was having abysmally slow performance until I did two things.  First, make sure you disable any .netcore logging, if you have any specified.  Second, precompile Microsoft.EntityFramworkCore.dll on the server.  

%WINDIR%\Microsoft.NET\Framework\v4.0.30319\ngen install Microsoft.EntityFrameworkCore.dll

This should dramatically speed up your site.
5 years ago
ralphberger wrote:
I was having abysmally slow performance until I did two things.  First, make sure you disable any .netcore logging, if you have any specified.  Second, precompile Microsoft.EntityFramworkCore.dll on the server.  

%WINDIR%\Microsoft.NET\Framework\v4.0.30319\ngen install Microsoft.EntityFrameworkCore.dll

This should dramatically speed up your site.


I tried to precompile dll but it gave error


C:\Users\Administrator>%WINDIR%\Microsoft.NET\Framework\v4.0.30319\ngen install Microsoft.EntityFrameworkCore.dll
Error: The specified file or directory "Microsoft.EntityFrameworkCore.dll" is in
valid.


I tried also
C:\Users\Administrator>%WINDIR%\Microsoft.NET\Framework\v4.0.30319\ngen install C:\vhosts\domain.com\Microsoft.EntityFrameworkCore.dll


but it gave dozen of errors.
5 years ago
I installed 4.1, when customers add more than 10 to 15 items to cart, cart page becomes extremely slow. One customer added 40 or more items to cart and it is not opening. What to do? It working fine in 3.30 and 3.70, as I upgraded, this problem started. Please advise.

Abhay
5 years ago
Try our plugin MS SQL Provider.
4 years ago
ralphberger wrote:
I was having abysmally slow performance until I did two things.  First, make sure you disable any .netcore logging, if you have any specified.  Second, precompile Microsoft.EntityFramworkCore.dll on the server.  

%WINDIR%\Microsoft.NET\Framework\v4.0.30319\ngen install Microsoft.EntityFrameworkCore.dll

This should dramatically speed up your site.


How do you disable .netcore logging ?
4 years ago
Like the other fellow , I can't find Microsoft.EntityFrameworkCore.dll . So ...

Anybody else have any ideas on how to improve performance ? My cart is very slow .
4 years ago
mikeoz wrote:
Like the other fellow , I can't find Microsoft.EntityFrameworkCore.dll . So ...

Anybody else have any ideas on how to improve performance ? My cart is very slow .


Hello,

You need to upgrade your nopCommerce version to 4.20 and properly configure your store to improve performance. Read more in nopCommerce performance guide.
4 years ago
Ok I have already looked through performance guide before and I think I have done as much as I can .
Upgrading seems a little scary but I will see . Thanks for letting me know ; did not know there was a new version .
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.