Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想知道在 HTTP/Webservice/RO 的情况下可以获取的数据的大小限制。
任何文件大小限制都不是特定于 flex 的,而是与所讨论的协议有关 - 哪个(AFAIK),没有。
但是,值得注意的是,如果您向客户端发送特别大的数据包大小,您会注意到 UI 冻结,同时数据包被反序列化到客户端内存中。
我没有测试过大的响应,但是发送大的请求是有限制的。至少对于 RemoteObject,必须将整个对象加载到内存中,因此加载 2gigs 会得到一个OutOfMemoryError.
OutOfMemoryError