Bosch Sensortec Community

    cancel
    Showing results for 
    Search instead for 
    Did you mean: 

    BSEC2 v1.5.2400 RAM overflowed

    BSEC2 v1.5.2400 RAM overflowed

    vvs42
    Member

    The example "bme68x_demo_sample" does not compile.

    Out of RAM: "dram0_0_seg" overflowed by 9256 bytes.

    Each instance is allocated in memory: BSEC_INSTANCE_SIZE 3272

    There are two conflicting defines:

    NUM_OF_SENS 4

    NUM_BME68X_UNITS 8

    Where to specify the number of sensors, and where is multi instance? How to run this version at least on a standard board with 8 sensors? The new version is very demanding on memory and cannot be applied to a large number of sensors > 8.

    7 REPLIES 7

    BSTRobin
    Community Moderator
    Community Moderator

    Hi vvs42,

    Could we know first about your hardware information and what applications would you like to use BSEC and BME68X for?

    Hi BSTRobin. Equipment standard ESP32 4Mb flash 512 kB SRAM, multiplexers for switching the sensor bus and a certain number of sensors.

    https://www.lcsc.com/product-detail/WiFi-Modules_Espressif-Systems-ESP32-WROOM-32E-H4_C3013935.html

    The goal is to analyze the gas according to the trained model in the AI studio. Each sensor makes an independent analysis in an isolated cell.

    Arduino version 2.0.4. Attached settings.

    The versions of the libraries are all up-to-date. ESP core version 2.0.7. I see a problem in dynamic memory allocation for all sensors at the same time.

    Did you find a fix? 

    I saw similar error messages and asked about it here: https://community.bosch-sensortec.com/t5/MEMS-sensors-forum/A-few-questions-for-BME688-evaluation-ki...

    Hello. No, didn't fix it. I am using the previous version 1.4.2200. Because in the new version, in addition to the voiced problem with class samples, it is also impossible to add additional virtual sensors (AQI, CO2 ...). The library gives an error.

    Icon--AD-black-48x48Icon--address-consumer-data-black-48x48Icon--appointment-black-48x48Icon--back-left-black-48x48Icon--calendar-black-48x48Icon--center-alignedIcon--Checkbox-checkIcon--clock-black-48x48Icon--close-black-48x48Icon--compare-black-48x48Icon--confirmation-black-48x48Icon--dealer-details-black-48x48Icon--delete-black-48x48Icon--delivery-black-48x48Icon--down-black-48x48Icon--download-black-48x48Ic-OverlayAlertIcon--externallink-black-48x48Icon-Filledforward-right_adjustedIcon--grid-view-black-48x48IC_gd_Check-Circle170821_Icons_Community170823_Bosch_Icons170823_Bosch_Icons170821_Icons_CommunityIC-logout170821_Icons_Community170825_Bosch_Icons170821_Icons_CommunityIC-shopping-cart2170821_Icons_CommunityIC-upIC_UserIcon--imageIcon--info-i-black-48x48Icon--left-alignedIcon--Less-minimize-black-48x48Icon-FilledIcon--List-Check-grennIcon--List-Check-blackIcon--List-Cross-blackIcon--list-view-mobile-black-48x48Icon--list-view-black-48x48Icon--More-Maximize-black-48x48Icon--my-product-black-48x48Icon--newsletter-black-48x48Icon--payment-black-48x48Icon--print-black-48x48Icon--promotion-black-48x48Icon--registration-black-48x48Icon--Reset-black-48x48Icon--right-alignedshare-circle1Icon--share-black-48x48Icon--shopping-bag-black-48x48Icon-shopping-cartIcon--start-play-black-48x48Icon--store-locator-black-48x48Ic-OverlayAlertIcon--summary-black-48x48tumblrIcon-FilledvineIc-OverlayAlertwhishlist