Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length

JoomlaTune Support Forum    JComments component    Suggestions, Wishlists & Feature Requests    Topic: too many comments
Pages: [1]   Go Down
  Print  
Author Topic: too many comments  (Read 2052 times)
0 Members and 1 Guest are viewing this topic.
Noob
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« on: May 13, 2011, 13:07:36 »

Hello!

I have some memory-problems on pages with more than 100 comments - the other pages work fine. Multithumb needs a lot of memory, too. Server Limit is 92MB. I switched off Jcomments-avatar which helped up to now.

But: sooner or later this will not be sufficient any more because it's just too many comments. One day there will be 200 or 300. To solve this, I see two ways:
1. as the tabs are allready reloaded using HttpRequest, the problems could be a php-array being too large (I've not checked the PHP-code). Giving "LIMIT" to the SQL-Request instead of filtering a large php-array should fix this.
2. an easy way to delete old or unimportant comments
Logged
Noob
Newbie
*

Karma: 0
Offline Offline

Posts: 3


« Reply #1 on: May 31, 2011, 15:23:06 »


solved (temporarily). Memory limit in JComments-Settings was set to 64 MB. Now set to standard and it works.
Logged
Outbreaker
Jr. Member
**

Karma: -13
Offline Offline

Posts: 61


Email
« Reply #2 on: July 23, 2011, 16:50:52 »

The problem is jcomments louds all comment pages at once. Jcomments should only loud the commant page that the user is viewing.
In my option this is a BIG error and over kill for BIG websites.
« Last Edit: July 23, 2011, 16:54:22 by Outbreaker » Logged
smart
Administrator
Hero Member
*****

Karma: 160
Offline Offline

Gender: Male
Posts: 2559



WWW
« Reply #3 on: July 26, 2011, 04:11:33 »

Jcomments should only loud the commant page that the user is viewing
It loads only one page if you're using flat list mode and have enabled pagination. With treeview mode we do not have pagination and this causes huge data size... I'm working on this...

In nearest time I'm going to implement lazy loading (first 1-2 level would be loaded with article and all others could be loaded on user's demand)
Logged

If you use JComments, please post a rating and a review at the Joomla! Extensions Directory
Pages: [1]   Go Up
  Print  
JoomlaTune Support Forum    JComments component    Suggestions, Wishlists & Feature Requests    Topic: too many comments
 
Jump to: