Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Memory leak in unit tests #3275

Closed
timleslie opened this issue Jul 22, 2020 · 1 comment
Closed

Memory leak in unit tests #3275

timleslie opened this issue Jul 22, 2020 · 1 comment

Comments

@timleslie
Copy link
Contributor

Our unit tests are currently suffering from a memory. This doesn't cause any issues right now, but adding more tests will cause problems in the future.

I have spent some time trying to track down the issue with no luck, so I am leaving this issue here in the hope that someone has capacity to investigate it in the future.

 PASS  api-tests/relationships/crud/one-to-one.test.js (9.302s, 107 MB heap size)
 PASS  api-tests/relationships/crud/one-to-many-one-sided.test.js (5.812s, 186 MB heap size)
 PASS  api-tests/relationships/crud-self-ref/one-to-many-one-sided.test.js (5.41s, 259 MB heap size)
 PASS  api-tests/relationships/crud/one-to-many.test.js (5.138s, 179 MB heap size)
 PASS  api-tests/relationships/crud/many-to-many.test.js (245 MB heap size)
 PASS  api-tests/relationships/crud-self-ref/one-to-many.test.js (208 MB heap size)
 PASS  api-tests/relationships/crud-self-ref/many-to-many.test.js (276 MB heap size)
 PASS  api-tests/relationships/crud/many-to-many-one-sided.test.js (341 MB heap size)
 PASS  api-tests/relationships/crud-self-ref/many-to-many-one-sided.test.js (404 MB heap size)
 PASS  api-tests/relationships/crud-self-ref/one-to-one.test.js (279 MB heap size)
 PASS  api-tests/hooks/list-hooks.test.js (324 MB heap size)
 PASS  api-tests/extend-graphql-schema/extend-graphql-schema.test.js (282 MB heap size)
 PASS  api-tests/CalendarDay.test.js (339 MB heap size)
 PASS  api-tests/relationships/nested-mutations/disconnect-many.test.js (405 MB heap size)
 PASS  api-tests/relationships/nested-mutations/create-many.test.js (473 MB heap size)
 PASS  api-tests/relationships/nested-mutations/disconnect-all-many.test.js (351 MB heap size)
 PASS  api-tests/relationships/nested-mutations/create-and-connect-many.test.js (425 MB heap size)
 PASS  api-tests/access-control/not-authed.test.js (6.388s, 600 MB heap size)
 PASS  api-tests/access-control/authed.test.js (9.32s, 525 MB heap size)
 PASS  api-tests/queries-access-control/meta.test.js (582 MB heap size)
 PASS  api-tests/access-control/schema.test.js (7.283s, 744 MB heap size)
 PASS  api-tests/queries/relationships.test.js (819 MB heap size)
 PASS  api-tests/queries/meta.test.js (602 MB heap size)
 PASS  api-tests/queries/cache-hints.test.js (669 MB heap size)
 PASS  api-tests/relationships/nested-mutations/two-way-backreference/to-many.test.js (719 MB heap size)
 PASS  api-tests/relationships/nested-mutations/connect-many.test.js (6.172s, 657 MB heap size)
 PASS  api-tests/auth-header.test.js (719 MB heap size)
 PASS  api-tests/Virtual.test.js (768 MB heap size)
 PASS  api-tests/default-value/defaults.test.js (821 MB heap size)
 PASS  api-tests/relationships/nested-mutations/reconnect-many-to-one.test.js (691 MB heap size)
 PASS  api-tests/relationships/nested-mutations/create-and-connect-singular.test.js (748 MB heap size)
 PASS  api-tests/relationships/filtering/access-control.test.js (791 MB heap size)
 PASS  api-tests/queries/search.test.js (850 MB heap size)
 PASS  api-tests/queries/limits.test.js (6.856s, 771 MB heap size)
 PASS  api-tests/fields.test.js (35.612s, 936 MB heap size)
 PASS  api-tests/DateTime.test.js (983 MB heap size)
 PASS  api-tests/uniqueness/unique.test.js (1044 MB heap size)
 PASS  api-tests/required.test.js (9.486s, 828 MB heap size)
 PASS  api-tests/relationships/nested-mutations/two-way-backreference/to-one-required.test.js (886 MB heap size)
 PASS  api-tests/relationships/nested-mutations/disconnect-singular.test.js (945 MB heap size)
 PASS  api-tests/relationships/nested-mutations/disconnect-all-singular.test.js (997 MB heap size)
 PASS  api-tests/relationships/nested-mutations/create-singular.test.js (10.621s, 928 MB heap size)
 PASS  api-tests/relationships/nested-mutations/connect-singular.test.js (11.335s, 1056 MB heap size)
 PASS  api-tests/relationships/filtering/nested.test.js (1113 MB heap size)
 PASS  api-tests/relationships/filtering/filtering.test.js (1169 MB heap size)
@stale
Copy link

stale bot commented Nov 20, 2020

It looks like there hasn't been any activity here in over 6 months. Sorry about that! We've flagged this issue for special attention. It wil be manually reviewed by maintainers, not automatically closed. If you have any additional information please leave us a comment. It really helps! Thank you for you contribution. :)

@stale stale bot added the needs-review label Nov 20, 2020
@bladey bladey closed this as completed Apr 8, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants