该文件太大,无法在Windows 7上打开问题 [英] The file is too large to open issue on Windows 7

查看:108
本文介绍了该文件太大,无法在Windows 7上打开问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!





我有MFC应用程序,当我保存文件时,文件将被保存(创建)。如果我双击

点击保存的文件,那么我的应用程序将打开。 (lly喜欢Hyper Terminal)



当我双击保存的文件时,它会显示文件太大而无法打开,从而出现此错误。



注意:

当我在Win7上构建应用程序时,VS2008问题即将来临,上述问题不会出现。

当我在Win XP上构建应用程序时,vc6.0



最初保存的文件是UNICODE编码,因此在Win7上出现此错误。但现在文本文件是

ANSI编码仍然在WonXP上得到相同的错误文件太大。

Hi!


I Have MFC application, when i save the file, file will be Saved(created). If i double
click on saved file then my application will be open. (lly like Hyper Terminal)

When i double click on saved file, it is giving "The file is too large to open" giving this error.

Note:
When i built the application on Win7, VS2008 issue is coming, the above issue is not coming.
when i built the application on Win XP, vc6.0

Initially the saved file is UNICODE Encoded, so getting this error on Win7. But now the text file is
ANSI encoded still it is getting the same error "The file is too large" on WonXP.

推荐答案

你无能为力。不同的系统可能具有不同的可用内存量,这不仅是由于不同的版本,而且是不同的设置和已加载的进程以及可用的物理RAM。使用32位Windows,只有2G可用于应用程序进程,而对于x86-64或Itanium和64位应用程序,瓶颈可能是物理RAM。使用较小尺寸的文件或永久使用磁盘上的文件而不是一次性读取所有文件。通常,这种代码设计的变化是可能的。



-SA
You cannot do much about it. Different system may have different amount of available memory, not only due to different versions, but different setup and, already loaded processes, and available physical RAM. With 32-bit Windows, only 2G are available to application processes, and with x86-64 or Itanium and 64-bit applications, the bottleneck could be available physical RAM. Use files of less size or permanently work with the file on disk not reading it all at once. Usually, such change in code design is possible.

—SA


这篇关于该文件太大,无法在Windows 7上打开问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆