Jump to content

Console Calling Hooks Spam

Closed 1.0.5 1.0.6

This plugin works excellently on the front end for the players, but on the back, it spams this all the time. I suspect this contributes to our overall severe lag, so please fix it if possible. I don't think that's normal. Also, this plugin has the most compiling time among all plugins on the server.

05 "AdvancedEntityLimit" (1.0.5) by M&B-Studios (149.30s) - AdvancedEntityLimit.cs (one time I've see it rise to 1000ms+)

01/14 13:05:57 | [AdvancedEntityLimit] [DeployedByPlayer] => Time - 115ms
01/14 13:05:57 | Calling 'CanBuild' on 'AdvancedEntityLimit v1.0.5' took 116ms
01/14 13:05:57 | [AdvancedEntityLimit] [DeployedByPlayer] => Time - 267ms
01/14 13:05:57 | Calling 'CanBuild' on 'AdvancedEntityLimit v1.0.5' took 269ms
01/14 13:05:58 | [AdvancedEntityLimit] [DeployedByPlayer] => Time - 388ms
01/14 13:05:58 | Calling 'CanBuild' on 'AdvancedEntityLimit v1.0.5' took 390ms [GARBAGE COLLECT]

Share this comment


Link to comment

I can subscribe here. The next foreach is killing any trail of performance... I've uninstalled the plugin until it will get fixed.
In other words, it needs some caching.

image.png.730e0616815bc707a9da4149b69d580d.png

Share this comment


Link to comment

Hello,

I probably would have awaited our feedback before closing. I see you updated the plugin but didn't specify what you did. However, when using the updated version, the issue is still there. I am going to request a refund until you can fix the issue.

Share this comment


Link to comment

What functions do you need?
I've only had this problem since I added the latest stuff
You are welcome to use the older version
I'm working on a solution to the problem

Share this comment


Link to comment

Having the same issue, please let me add something more after my previous comment. The plugin consumes a lot of RAM memory, this is why I suggested that caching some data might help. In just a few hours (3-4h), the RAM consumed by this plugin exceeded 1GB so you can imagine what it can do in 24h. And this happened on a low-pop server where the players didn't exaggerate with the building sizes. 
I'm thinking that it's worth maybe having some dictionary with the entities that are used more often, because the way I see it in the print attached in the previous comment, it's iterating through all of them. As an example, I don't know many players that use the Computer Station, unless they wanna open an Internet Cafe. 

Share this comment


Link to comment
1.1m

Downloads

Total number of downloads.

5.7k

Customers

Total customers served.

82.8k

Files Sold

Total number of files sold.

1.6m

Payments Processed

Total payments processed.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.