tempfiles under the content root -> bad performance ?!

just a thought:
I think you have to take great care about what files you have under your content root(s).

Especially if you frequently launch your app from IDEA,
and your app writes tons of tempfiles within the content
root. (My app writes temporary shapefiles which regularly add up to 10-15MB and may be updated every few seconds).
I suspect this has a very negative impact on IDEAs own
performance - I guess everything is locally versionned!

IF YO WRITE TEMPFILES UNDER YOUR IDEA CONTENT ROOTS,
MARK THE FOLDER AS EXCLUDED !!!!

;)

Maybe it is even better if you write your tempfiles
completely outside the content roots?!

2 comments

Michael Damberger wrote:

just a thought:
I think you have to take great care about what files you have under your content root(s).

Especially if you frequently launch your app from IDEA,
and your app writes tons of tempfiles within the content
root. (My app writes temporary shapefiles which regularly add up to 10-15MB and may be updated every few seconds).
I suspect this has a very negative impact on IDEAs own
performance - I guess everything is locally versionned!

IF YO WRITE TEMPFILES UNDER YOUR IDEA CONTENT ROOTS,
MARK THE FOLDER AS EXCLUDED !!!!

;)

Maybe it is even better if you write your tempfiles
completely outside the content roots?!


I think that it is just good practice to write temp files in a temporary
directory outside of your development environment. It goes along with
the philosopy of separating your source files from your class files
(which should also be excluded).

Tim

0

>I think that it is just good practice to write
>temp files in a temporary
>directory outside of your development environment.

yes, I guess I learnt a new good practice ;)

Does anybody know if there is something like an IDEA
best practices file somewhere?

Btw., why did nobody ever write a book about IDEA? (or is
there one?)

0

Please sign in to leave a comment.