I have deployed user generated views to a production site using Views (6.x-2.12) bulk export feature; that is, views are saved in the code as mymodule.module and mymodule.views_default.inc, the latter of which contains 12 views in more than 11,000 lines.
Sometimes, one or more views suddenly disappear from the site. Flushing all caches usually fixes it, but it is hard to duplicate the issue and it bothers me that it may happen again in the worst time.
Possible causes that I think of are:
- Does the .inc file have too many lines (> 11K)?
- I have saved the .inc file with Windows new lines, while the server is Linux.
Could one of these be the cause? Anyone experienced a similar issue?