Skip to content

http上传文件部分,不能发送超过应用内存空间大小的文件,针对FileUtils.input2byte前一步的修改 #59

Description

@liuyang1024cv

就它是大文件上传吧,这个功能还没有。
博主能否在put内容为file的时候,优先判断freeMemory的占有量然后再进行分片写入流操作。
如果直接把文件流转换为byte数据就有可能outOfMemory

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions