Inhalte aufrufen

Profilbild

Memory Issue


  • Bitte melden Sie sich an, um eine Antwort zu verfassen.
10 Antworten zu diesem Thema

#1 waterglobal

waterglobal

    Newbie

  • Members
  • 5 Beiträge

Geschrieben: 19 August 2014 - 02:51

Anyone having high memory issues with their smart store?  When you have around 3000 products, the memory on startup is consuming up to 700 MB. Is that normal or is there some memory leak going on?

 

 


  • MediArt gefällt das

#2 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3383 Beiträge

Geschrieben: 19 August 2014 - 12:09

Check if you have "Customer has spent x amount" rule applied on any discount with the option "Include discounts" activated.
"Include discounts" must not be activated due to a bug.

  • MediArt gefällt das

Schöne Grüße aus Düsseldorf,
Marcus Gesing


#3 waterglobal

waterglobal

    Newbie

  • Members
  • 5 Beiträge

Geschrieben: 20 August 2014 - 05:23

Do you know where this option is located?  I can't seem to find where it's configured.  Only thing I found was:

 

Ignore discounts (sitewide)

 
Thanks.


#4 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3383 Beiträge

Geschrieben: 20 August 2014 - 11:15

It is an option per discount, not a global setting.
See Promotion -> Discounts -> Edit -> Requirements.

  • waterglobal gefällt das

Schöne Grüße aus Düsseldorf,
Marcus Gesing


#5 waterglobal

waterglobal

    Newbie

  • Members
  • 5 Beiträge

Geschrieben: 20 August 2014 - 22:11

Thank you, I found it. However, I don't have any records setup for promotions.  

Do you know on average how much memory it will take up to launch SmartStore?  My hosting provider is saying the app pool is recycling because I'm exceeding the 800 MB that's allowed for each app pool for the web application.  

 

The problem here is, there isn't any traffic going on.  We just deployed it and launched it with them, and after waiting for 30 mins - 1 hour, the site would go down and I can see the the app pool stopped from my control panel.

 

Any advice would be great.


  • MediArt gefällt das

#6 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3383 Beiträge

Geschrieben: 21 August 2014 - 11:04

That sounds not good. I do not know the memory usage but never ever 800 MB.
This behaviour is exactly what the discount requirement rule bug cause.
What version have you deployed? Are there any helpful entries in the log list (see System -> Log in backend).

Schöne Grüße aus Düsseldorf,
Marcus Gesing


#7 waterglobal

waterglobal

    Newbie

  • Members
  • 5 Beiträge

Geschrieben: 21 August 2014 - 14:56

Here are the information from the admin panel:

 

 

SmartStore.NET version
1.2.1.0
Operating system
Microsoft Windows NT 6.3.9600.0
ASP.NET info
v4.0.30319
Is full trust level
TRUE
Server time zone
Eastern Standard Time
Server local time
Thursday, August 21, 2014 9:52:51 AM
Greenwich Mean Time (GMT/UTC)
Thursday, August 21, 2014 1:52:51 PM
Size of database
1802.19 MB

#8 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3383 Beiträge

Geschrieben: 21 August 2014 - 16:47

Update to 2.0.2 and see if the problem goes away.


Schöne Grüße aus Düsseldorf,
Marcus Gesing


#9 waterglobal

waterglobal

    Newbie

  • Members
  • 5 Beiträge

Geschrieben: 22 August 2014 - 03:20

Anyway to get the source code for this new version?


  • MediArt gefällt das

#10 nordic

nordic

    Member

  • Members
  • 23 Beiträge

Geschrieben: 01 September 2014 - 21:06

Is this issue fixed in version 2.0.2 ?



#11 Marcus Gesing

Marcus Gesing

    SmartStore AG

  • Administrators
  • 3383 Beiträge

Geschrieben: 02 September 2014 - 11:28

What issue?

 

 

Check if you have "Customer has spent x amount" rule applied on any discount with the option "Include discounts" activated.
"Include discounts" must not be activated due to a bug.

 

... is produced by 2.0.2 and fixed with next version.


Schöne Grüße aus Düsseldorf,
Marcus Gesing