Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

The unit test host peaks near 8 GB, mostly in Tests.Convenience

Đang mở
#1,883 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
csharp
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start by running dotnet test --filter FullyQualifiedName~Tests.Convenience and watching the test host's resident memory, then compare with DocumentationExamplesRunTest alone. Find which tests in the Tests.Convenience namespace allocate the most, and check whether large inputs or cached results are kept alive across tests. Done means the full suite peaks well under a few GB, or the memory-heavy tests are documented with a reason. The maintainers should confirm which outcome they want before a fix is written.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

The unit test host peaks near 8 GB on master. Measured on 790feec2 (net10.0, Release), as the test host's resident memory:

Run Peak
whole suite 7,947 MB (killed by a local 8 GB guard in one of two runs)
FullyQualifiedName~Tests.Convenience 5,832 MB in 16 s
DocumentationExamplesRunTest alone 2,505 MB
everything except Tests.Convenience about 1.9 GB
Tests.Calculus 1,763 MB

So most of it comes from Tests.Convenience. On a machine with less memory, or a CI runner with a lower limit, the whole run can be killed mid-way, and vstest still prints Passed! over the tests that finished.

What I'd expect: the suite should stay well under a few GB, or the tests that need that much should say why.

Ngôn ngữ chính
C#
Star
831
Fork
79
Merge trung bình
2 giờ 17 phút
Pull request đã merge (30 ngày)
443

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của ASC-Community/AngouriMath

Tất cả issue của ASC-Community/AngouriMath

Issue tương tự

Thêm issue về C#

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.