nextcloud / nextcloud/suspicious_login

Memory consumption

Open
#678 2 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop bug performance :rocket:
Dominant language
PHP
Stars
106
Forks
32
Avg merge
8h 33m
Merged PRs (30d)
10

Description

Not sure there is a lot we can do about, but it seems to be too much:

{"reqId":"kv3f4y0SqwZAO0sOMiDY","level":3,"time":"2022-07-18T01:07:26+00:00","remoteAddr":"","user":"--","app":"PHP","method":"","url":"--","message":"Allowed memory size of 536870912 bytes exhausted (tried to allocate 266240 bytes) at /var/www/cloud.nextcloud.com/nextcloud/apps/suspicious_login/vendor/rubix/tensor/src/Matrix.php#975","userAgent":"--","version":"24.0.3.1","data":{"app":"PHP"}}

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reviewing the reported log entry and the referenced vendor/rubix/tensor/src/Matrix.php#975 location in the suspicious_login app. Determine whether the memory exhaustion is reproducible and whether it originates in this app or its dependency. Done means documenting the cause and implementing or clearly identifying a bounded fix, if one is feasible.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
security
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.