System.OutOfMemoryException

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

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
18/100
Loại issue
Lỗi
Độ rõ ràng
Cần làm rõ
Mức độ hoạt động
Đình trệ
Công nghệ
csharp
Lĩnh vực
backend

Hướng nghiên cứu

Begin at Document.AddImage(Object o, String contentType) and follow the shown System.IO.MemoryStream and ZipIO save stack to establish a reproducible case. The issue names no source files or tests; done should mean the reported OutOfMemoryException no longer occurs for that case, with a regression test if an appropriate location exists.

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

Mô tả

System.OutOfMemoryException: 引发类型为“System.OutOfMemoryException”的异常。
在 System.IO.MemoryStream.set_Capacity(Int32 value)
在 System.IO.MemoryStream.EnsureCapacity(Int32 value)
在 System.IO.MemoryStream.Write(Byte[] buffer, Int32 offset, Int32 count)
在 MS.Internal.IO.Zip.ZipIOCentralDirectoryFileHeader.Save(BinaryWriter writer)
在 MS.Internal.IO.Zip.ZipIOCentralDirectoryBlock.Save()
在 MS.Internal.IO.Zip.ZipIOBlockManager.SaveContainer(Boolean closingFlag)
在 MS.Internal.IO.Zip.ZipIOBlockManager.SaveStream(ZipIOLocalFileBlock blockRequestingFlush, Boolean closingFlag)
在 MS.Internal.IO.Zip.ZipIOModeEnforcingStream.Dispose(Boolean disposing)
在 System.IO.Stream.Close()
在 Xceed.Document.NET.Document.AddImage(Object o, String contentType)

Ngôn ngữ chính
C#
Star
1.9k
Fork
482
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

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

Dự án này không cung cấp dev container, Dockerfile hay hướng dẫn đóng góp, nên bạn cần tự thiết lập môi trường: hãy bắt đầu từ README và xem hướng dẫn đóng góp lần đầu của chúng tôi để biết các bước chung.

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 xceedsoftware/DocX

Tất cả issue của xceedsoftware/DocX

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.