Flex 中可以使用 Web 服务获取的最大数据大小
我想知道在 HTTP/Webservice/RO 情况下可以获取的数据的大小限制。
I want to know the size limit of data which can be fetched in case of HTTP/Webservice/RO.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
任何文件大小限制都不是特定于 Flex 的,而是与所讨论的协议相关 - (据我所知),没有。
但是,值得注意的是,如果您向客户端发送特别大的数据包,您会注意到当数据包被反序列化到客户端内存中时,UI 会冻结。
Any file size limits are not flex specific, but instead relate to the protocols in question - which (AFAIK), there are none.
However, it's worth noting that if you send a particularly large packet size to the client, you will notice that the UI freezes while the packet is deserialized into memory within the client.
我尚未测试大型响应,但发送大型请求存在限制。至少对于 RemoteObject,整个对象必须加载到内存中,因此加载 2gig 会出现
OutOfMemoryError
。I haven't tested large responses, but there are limits with sending large requests. At least with RemoteObject, the entire object must be loaded into memory so loading 2gigs would get an
OutOfMemoryError
.