It is currently April 27th, 2024, 11:40 am



Post new topic Reply to topic  [ 5 posts ] 
Author Message
 Post subject: Large number of posts replacements from text file.
PostPosted: January 16th, 2024, 5:20 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
I tried to replace around 13K post from text file, but memory use jumped to 50gb+

while editing the thread it was still same memory. i abort the edit. restart the TM and then edit. it started to work fine.

Image

also last time it requested while replacing text file, add a the text file load. but after text file load done TM checking with subject for replacement i guess. can we add something more see the processing, like X% checking done or something.


Top
 Profile  
Reply with quote  
 Post subject: Re: Large number of replacement from text file
PostPosted: January 16th, 2024, 6:55 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12646
Location: Earth
Text files need to be read to memory, so it might not be possible to avoid that jump.

If it's really a lot of files just do it in batches, like divide them in two or three parts and replace only half / third at first.

You can see background progress in "STATUS" -> "EDITS" -> at the bottom "Background log" table -> it shows task progress with how many websites to check are still left and posts counter going down for each site it checks.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Large number of posts replacements from text file.
PostPosted: January 17th, 2024, 12:44 pm 

Joined: March 30th, 2015, 12:31 pm
Posts: 670
when we load text file, memory jump sky rocket (more than 10K text file). but once load is done it takes some time to come down a bit. like 23gb ram. once click submit to replace. it jump back to 50gb+ memory. i saw it same for 5~6 hour and even after 4K post is edited memory never come down. it should come down to memory a lot like 2~3gb.

i know that because when i saw memory is too high. i abort all the edit. restart the TM and retry and then i saw even with 14K edit post running TM using only 800mb memory


here total post is editing 15140
https://i.imgur.com/yiy0lbv.png


Top
 Profile  
Reply with quote  
 Post subject: Re: Large number of posts replacements from text file.
PostPosted: January 17th, 2024, 1:19 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12646
Location: Earth
Will take a look more.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
 Post subject: Re: Large number of posts replacements from text file.
PostPosted: February 12th, 2024, 7:59 pm 
Site Admin
User avatar

Joined: March 10th, 2011, 11:14 pm
Posts: 12646
Location: Earth
3.89:
* Added option in "Settings" -> "Edits" -> "Automatically remove edit statuses older than (in days)".

Which should help a bit to clean-up old statuses which are not needed (they do take quite a lot of space and should be removed).

And made one small other improvement, but not sure how much it will help.

Might still need to take a look more.

Edit:

3.90
* Added option in "Settings" -> "Edits" -> "Automatically remove success edit statuses after editing".
* Improved saving on edit statuses.

_________________
themaPoster | themaCreator | themaManager | themaLeecher | themaRegister


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 

Who is online

Users browsing this forum: No registered users and 22 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Theme designed by stylerbb.net © 2008
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
All times are UTC