Open KihongHeo opened 7 years ago
What happens when the file is loaded? Does the process crash? One of the reasons I've implemented caching was to go around this; have one process per XML file, if the XML is too big, then the OS kills the python process, but the main script can continue.
Regardless, if we want to skip processing files up to a certain bound, I think it should be a command line/configuration option and apisan
should tell the user when it's ignoring files and how to avoid doing that or change the limit.
I see. It does not crash and still is still going on now. Previously I didn't notice that it is serious even in our server.
I found that there are so many long function calls: the length of the arguments is > 10,000 characters. I will just skip the files.
Some xml files are too huge. For example, in our benchmark
xserver-xorg-video-intel-2.99.910/as-out/build/src/sna/gen3_render.c.as
is more than 2Gb. Maybe we can limit the size of xmls on the clang side, or skip them on the python side.